From e2e2eb2bcd09164cb214e07797d62857c376e01d Mon Sep 17 00:00:00 2001 From: mogad0n Date: Thu, 17 Sep 2020 11:36:34 +0530 Subject: [PATCH] Syntax error --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 0e52fb7..7df159d 100644 --- a/plugin.py +++ b/plugin.py @@ -202,7 +202,7 @@ class Tripsit(callbacks.Plugin): else: dose_td = datetime.timedelta(hours=hours, minutes=minutes) time_dosed = time - dose_td - self.db[msg.nick] = {'type': 'hdose', 'time': str(time), 'time_dosed': str(time_dosed) 'dose': dose, 'drug': drug_name, 'method': method } + self.db[msg.nick] = {'type': 'hdose', 'time': str(time), 'time_dosed': str(time_dosed), 'dose': dose, 'drug': drug_name, 'method': method } re = f" You dosed {dose} of {drug_and_method} at {str(time_dosed)}" if not onset == None: re += f". You should start feeling effects {onset} from now"