Add ENVs to dockerfile

This commit is contained in:
Luigi311
2022-06-15 13:38:28 -06:00
parent aeb86f6b85
commit 21fe4875eb
3 changed files with 27 additions and 4 deletions

View File

@@ -380,6 +380,7 @@ if __name__ == "__main__":
try:
main()
logger(f"Looping in {sleep_duration}")
sleep(sleep_duration)
except Exception as error:
if isinstance(error, list):
for message in error:
@@ -394,5 +395,3 @@ if __name__ == "__main__":
except KeyboardInterrupt:
logger("Exiting", log_type=0)
os._exit(0)
sleep(sleep_duration)