Ver a proveniência

Fix unicode bug in exception.

tags/v0.2
Ben Kurtovic há 9 anos
ascendente
cometimento
9eaad11efb
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      earwigbot/wiki/site.py

+ 1
- 1
earwigbot/wiki/site.py Ver ficheiro

@@ -844,7 +844,7 @@ class Site(object):
if lname in lnames:
return ns_id

e = "There is no namespace with name '{0}'.".format(name)
e = u"There is no namespace with name '{0}'.".format(name)
raise exceptions.NamespaceNotFoundError(e)

def get_page(self, title, follow_redirects=False, pageid=None):


Carregando…
Cancelar
Guardar