From 33184fc612ae4b8bf43d3f1fb83d32f897b7f6a1 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Sat, 12 Jul 2014 20:24:20 +0200 Subject: [PATCH] [BUGFIX] Crash due to bad parentheses, i guess. :/ --- twisted/plugins/monitorbot_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twisted/plugins/monitorbot_plugin.py b/twisted/plugins/monitorbot_plugin.py index b45a37f..15e5c07 100644 --- a/twisted/plugins/monitorbot_plugin.py +++ b/twisted/plugins/monitorbot_plugin.py @@ -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: