From 52cc0b75c1908fb56e26c7c61c0bc71a9801515b Mon Sep 17 00:00:00 2001 From: dymik739 Date: Fri, 4 Nov 2022 20:45:52 +0200 Subject: [PATCH] Hotfix: auto-schedule: set proper dictionary key selector --- modules/auto-schedule/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auto-schedule/index.py b/modules/auto-schedule/index.py index 485c3bd..5b84dd4 100644 --- a/modules/auto-schedule/index.py +++ b/modules/auto-schedule/index.py @@ -1,4 +1,4 @@ -if self.MESSAGE.text.lower() == "!пара": +if self.MESSAGE["text"].lower() == "!пара": try: schedule = json.loads( readfile(self.path + "schedule.json") )