[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

View File

@ -71,7 +71,7 @@ class MonitorBotService(Service):
def sendQueuedMessages(): def sendQueuedMessages():
if len(self._messages) > 3: 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]) self._bot.msg(self._channel, self._messages[len(self._messages)-1])
else: else:
for msg in self._messages: for msg in self._messages: