Skip to content

Commit

Permalink
Fix malformatted log message when server responds with "Unknown comma…
Browse files Browse the repository at this point in the history
…nd".
  • Loading branch information
shizmob committed Jul 30, 2014
1 parent 7107674 commit e30c60e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydle/features/rfc1459/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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. """
Expand Down

0 comments on commit e30c60e

Please sign in to comment.