summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/anidb.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/anidb.py b/modules/anidb.py
index ddd0289..83e48ea 100644
--- a/modules/anidb.py
+++ b/modules/anidb.py
@@ -75,7 +75,7 @@ class Module:
specialep = int(specialep)
catl = ', '.join(catlist[:catn] + (['+%d more' % (len(catlist)-catn)] if len(catlist) > catn else []))
- return '%s%s is: %s, year %s, %d%s%s eps%s, cats: %s | rating: %.2f (%s), temp: %.2f (%s) | http://anidb.net/a%d' % (
+ s = '%s%s is: %s, year %s, %d%s%s eps%s, cats: %s | rating: %.2f (%s), temp: %.2f (%s) | http://anidb.net/a%d' % (
romaji,
' aka. %s' % english if english else '',
type,
@@ -90,6 +90,7 @@ class Module:
temprating,
tempcount,
aid)
+ return s.encode('utf8')
def get_anime(self, msg):
short = msg.startswith('-s')