From 8b6a1445e1f00847b197b09d28650ede948f534c Mon Sep 17 00:00:00 2001 From: db0 Date: Tue, 26 Sep 2023 14:15:20 +0200 Subject: [PATCH] fix: int the poll fails --- updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater.py b/updater.py index 9338847..17302c6 100644 --- a/updater.py +++ b/updater.py @@ -48,7 +48,7 @@ if __name__ == "__main__": if instance.software == 'wildcard': continue # -1 doesn't skip anything - if os.getenv('FEDISEER_IGNORE_POLL_FAILS', -1) >= 0 and instance.poll_failures > int(os.getenv('FEDISEER_IGNORE_POLL_FAILS', 0)): + if int(os.getenv('FEDISEER_IGNORE_POLL_FAILS', -1)) >= 0 and instance.poll_failures > int(os.getenv('FEDISEER_IGNORE_POLL_FAILS', 0)): logger.debug(f"Skipped {instance.domain} due to too many poll fails.") continue futures.append(executor.submit(refresh_info, instance.domain))