[BUGFIX] Crash due to bad parentheses, i guess. :/
This commit is contained in:
parent
0f8e847b32
commit
33184fc612
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue