Ver código fonte

Fix int->str.

tags/v0.1^2
Ben Kurtovic 12 anos atrás
pai
commit
d269d9de80
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      bot/classes/base_task.py

+ 1
- 1
bot/classes/base_task.py Ver arquivo

@@ -43,7 +43,7 @@ class BaseTask(object):
summary = config.wiki["summary"]
except KeyError:
return comment
return summary.replace("$1", self.number).replace("$2", comment)
return summary.replace("$1", str(self.number)).replace("$2", comment)

def shutoff_enabled(self, site=None):
"""Returns whether on-wiki shutoff is enabled for this task.


Carregando…
Cancelar
Salvar