diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 70a762b57..f3cf4e83f 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -892,7 +892,11 @@ $cfg['Servers'][$i]['LogoutURL'] = 'phpmyadminsignin.php?logout'; cursor.execute("UPDATE loginSystem_acl SET config = '%s' where name = 'admin'" % (Upgrade.AdminACL)) except BaseException as msg: print(str(msg)) - import sleep + try: + import sleep + except: + from time import sleep + from time import sleep sleep(10) try: