summaryrefslogtreecommitdiffstats
path: root/plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.py')
-rw-r--r--plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin.py b/plugin.py
index 6d8d92e..93c502a 100644
--- a/plugin.py
+++ b/plugin.py
@@ -280,8 +280,8 @@ class Tripsit(callbacks.Plugin):
since_dose = time - dose_time
since_dose_seconds = since_dose.total_seconds()
if history:
- history = num2words(history, to='ordinal'):
- re = utils.str.format("Your %i last dose was %s of %s via %s at %s %s, %T ago", history, dose, drug, method, str(dose_time), timezone, since_dose_seconds)
+ history = num2words(history, to='ordinal')
+ re = utils.str.format("Your %i last dose was %s of %s via %s at %s %s, %T ago", history, dose, drug, method, str(dose_time), timezone, since_dose_seconds)
else:
re = utils.str.format("You last dosed %s of %s via %s at %s %s, %T ago", dose, drug, method, str(dose_time), timezone, since_dose_seconds)
irc.reply(re)