From e30c60e95d27bce5d7934c5f6cde304d89be507a Mon Sep 17 00:00:00 2001 From: Shiz Date: Thu, 31 Jul 2014 00:19:14 +0200 Subject: [PATCH] Fix malformatted log message when server responds with "Unknown command". --- pydle/features/rfc1459/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydle/features/rfc1459/client.py b/pydle/features/rfc1459/client.py index f23ba0f..fc81099 100644 --- a/pydle/features/rfc1459/client.py +++ b/pydle/features/rfc1459/client.py @@ -970,7 +970,7 @@ def on_raw_422(self, message): def on_raw_421(self, message): """ Server responded with 'unknown command'. """ - self.logger.warning('Server responded with "Unknown command: %s"'.format(message.params[0])) + self.logger.warning('Server responded with "Unknown command: %s"', message.params[0]) def on_raw_432(self, message): """ Erroneous nickname. """