Fix: TypeError: non-empty format string passed to object.__format__.
--- a/py/gadict.py Tue Sep 27 10:16:57 2016 +0300
+++ b/py/gadict.py Tue Sep 27 18:55:09 2016 +0300
@@ -27,9 +27,9 @@
if self.lineno is None:
return self.msg
elif self.line is None:
- return ":{:d}:{:s}".format(self.lineno, self.msg.encode('utf-8'))
+ return u":{:d}:{:s}".format(self.lineno, self.msg)
else:
- return ":{:d}: {:s}\nLINE: {:s}".format(self.lineno, self.msg.encode('utf-8'), self.line.encode('utf-8'))
+ return u":{:d}: {:s}\nLINE: {:s}".format(self.lineno, self.msg, self.line)
class Headword: