If username is not configured then retry in 5 minutes

This commit is contained in:
sepehr 2024-07-24 19:55:16 +03:30
parent cd89bc8ac7
commit f4e77ab54e

View file

@ -85,12 +85,12 @@ def main():
username = db_sysconfig.get_sysconfig('username')
except:
log.error("No username found")
time.sleep(sleep_time)
time.sleep(300)
continue
# util.send_mikrowizard_request(params)
if not username or username.strip()=="":
log.error("No username found")
time.sleep(sleep_time)
time.sleep(300)
continue
install_date=set_get_install_date()
from _version import __version__