瀏覽代碼

Bugfix!

pull/10/merge
Ben Kurtovic 9 年之前
父節點
當前提交
926d449007
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      tasks/infobox_station.py

+ 1
- 1
tasks/infobox_station.py 查看文件

@@ -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…
取消
儲存