File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -448,15 +448,15 @@ def main():
448448 if script_mode :
449449 if script_mode == 'i' :
450450 devices = device_manager .getDevices ()
451- if len (devices ) == 0 :
452- installaion_manager .selectDevice (devices = devices )
453- if installaion_manager .selectedDevice == None :
454- installaion_manager .getAccount ()
455- installaion_manager .getPassword ()
456- installaion_manager .selectFile ()
457- if installaion_manager .filePath == None :
458- DebugPrint (installaion_manager .getInfo ())
459- installaion_manager .run ()
451+ if len (devices ) > 0 :
452+ installation_manager .selectDevice (devices = devices )
453+ if installation_manager .selectedDevice is not None :
454+ installation_manager .getAccount ()
455+ installation_manager .getPassword ()
456+ installation_manager .selectFile ()
457+ if installation_manager .filePath is not None :
458+ DebugPrint (installation_manager .getInfo ())
459+ installation_manager .run ()
460460
461461 elif script_mode == 'w' :
462462 if NETMUXD_IS_AVAILABLE :
You can’t perform that action at this time.
0 commit comments