From ac73206ec03b7d0bc216ad0aa4233a17e3a9bb99 Mon Sep 17 00:00:00 2001 From: dave Date: Sun, 6 Nov 2016 23:35:35 +0000 Subject: [PATCH] Format time --- pyircbot/modules/Election.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyircbot/modules/Election.py b/pyircbot/modules/Election.py index 812a128..7731403 100644 --- a/pyircbot/modules/Election.py +++ b/pyircbot/modules/Election.py @@ -85,7 +85,7 @@ class ElectionGame: if sum([len(i) for i in self.votes.values()]) > 0: self.cooldown_timer = Timer(self.cooldown_length_s, self.start_election) self.cooldown_timer.start() - self.bot.act_PRIVMSG(self.channel, "Next election starts in: {}s".format(self.cooldown_length_s)) + self.bot.act_PRIVMSG(self.channel, "Next election starts in: {}s".format(self.format_seconds(self.cooldown_length_s))) else: self.state = game_phases.halted