1 2 3 4 5 6 7 8 9 10
from test.flashers.flasher_sopa0000 import flash_sopa0000 def flash(modelid): result = None if modelid.find("SOPA0000") == 0: result = flash_sopa0000() return result