Browse Source

Bugfix!

pull/10/merge
Ben Kurtovic 9 years ago
parent
commit
926d449007
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tasks/infobox_station.py

+ 1
- 1
tasks/infobox_station.py View File

@@ -119,7 +119,7 @@ class InfoboxStation(Task):
matches=lambda link: link.title.lower().startswith("category:"))
norm = lambda cat: cat.title.lower()[len("category:"):].strip()

catlist = [cat for cat in cats if not any(
catlist = [unicode(cat) for cat in cats if not any(
norm(cur) == norm(cat) for cur in current_cats)]
if not catlist:
return


Loading…
Cancel
Save