Syntax error

This commit is contained in:
mogad0n 2020-09-17 11:36:34 +05:30
parent d4d6d8417e
commit e2e2eb2bcd

View File

@ -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"