"Cannot" -> "can't" in IRCServer encoding fallback

This commit is contained in:
jesopo 2018-10-17 17:04:56 +01:00
parent a4bfae9557
commit c48574a3d6

View file

@ -244,7 +244,7 @@ class Server(IRCObject.Object):
try:
line = line.decode(encoding)
except:
self.bot.log.trace("Cannot decode line with '%s', falling back",
self.bot.log.trace("can't decode line with '%s', falling back",
[encoding])
try:
line = line.decode(self.get_setting(