Ver código fonte

Bugfix!

pull/10/merge
Ben Kurtovic 9 anos atrás
pai
commit
926d449007
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      tasks/infobox_station.py

+ 1
- 1
tasks/infobox_station.py Ver arquivo

@@ -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


Carregando…
Cancelar
Salvar