From cee49f7de9bfc0021278eb9273b58529b71fa711 Mon Sep 17 00:00:00 2001 From: mogad0n Date: Thu, 17 Sep 2020 11:38:01 +0530 Subject: [PATCH] Syntax error --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 7df159d..7db91c8 100644 --- a/plugin.py +++ b/plugin.py @@ -219,7 +219,7 @@ class Tripsit(callbacks.Plugin): if msg.nick in self.db: lastdose = self.db[msg.nick] time = datetime.utcnow() - if lastdose['type'] == 'idose' + if lastdose['type'] == 'idose': dose_time = dateutil.parser.isoparse(lastdose['time']) elif lastdose['type'] == 'hdose': dose_time = dateutil.parser.isoparse(lastdose['time_dosed'])