Exception handling fixes

This commit is contained in:
Johannes Findeisen 2021-12-27 03:54:23 +01:00
commit 7e8e3545a4
2 changed files with 15 additions and 13 deletions

View file

@ -113,6 +113,4 @@ class Uplink(Daemon):
for i in range(len(self.config["uplinks"])):
t = Thread(target=self.get_data, args=(self.get_config(), i))
t.start()
if self.config["cron"]:
break
time.sleep(self.config["interval"])