From 623e23822275a8f7ed82a34a6858e04e893768fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20D=C3=B6rflinger?= Date: Fri, 12 Dec 2025 10:17:38 +0100 Subject: [PATCH] Check for empty as well --- ChristmasEvent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChristmasEvent.py b/ChristmasEvent.py index eecf963..ae16f6e 100755 --- a/ChristmasEvent.py +++ b/ChristmasEvent.py @@ -215,7 +215,7 @@ class ChristmasBot: data = self.db.get_forest_data() - if self.last_updated_data and (len(self.last_updated_data) == len(data) or len(data) == 0): + if len(self.last_updated_data) == len(data) or len(data) == 0: # Nothing changed. print(f"No change in dashboard, last checked {now}...", end="\r") return