Sfoglia il codice sorgente

Fix int->str.

tags/v0.1^2
Ben Kurtovic 12 anni fa
parent
commit
d269d9de80
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      bot/classes/base_task.py

+ 1
- 1
bot/classes/base_task.py Vedi File

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


Caricamento…
Annulla
Salva