[BUGFIX] Crash due to bad parentheses, i guess. :/

This commit is contained in:
Jan Philipp Timme 2014-07-12 20:24:20 +02:00
parent 0f8e847b32
commit 33184fc612
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class MonitorBotService(Service):
def sendQueuedMessages():
if len(self._messages) > 3:
self._bot.msg(self._channel, "ftp> %i Events übersprungen. Letzter Event:" % len(self._messages)-1)
self._bot.msg(self._channel, "ftp> %i Events übersprungen. Letzter Event:" % (len(self._messages)-1))
self._bot.msg(self._channel, self._messages[len(self._messages)-1])
else:
for msg in self._messages: