Ver a proveniência

Missed a Unicode bug

tags/v0.1^2
Ben Kurtovic há 12 anos
ascendente
cometimento
91c344d6d6
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      earwigbot/tasks/afc_statistics.py

+ 1
- 1
earwigbot/tasks/afc_statistics.py Ver ficheiro

@@ -247,7 +247,7 @@ class Task(BaseTask):
msg = u"Updating page [[{0}]] (id: {1}) @ {2}"
self.logger.debug(msg.format(title, pageid, oldid))
self.logger.debug(" {0} -> {1}".format(oldid, real_oldid))
base = result[0][1].replace("_", " ")
base = result[0][1].decode("utf8").replace("_", " ")
ns = self.site.namespace_id_to_name(result[0][2])
if ns:
real_title = u":".join((ns, base))


Carregando…
Cancelar
Guardar