Sfoglia il codice sorgente

Heh, missed the other one.

tags/v0.1^2
Ben Kurtovic 13 anni fa
parent
commit
09dd1a8952
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

@@ -73,7 +73,7 @@ class BaseTask(object):
return False
title = cfg.get("page", "User:$1/Shutoff/Task $2")
username = site.get_user().name()
title = title.replace("$1", username).replace("$2", self.number)
title = title.replace("$1", username).replace("$2", str(self.number))
page = site.get_page(title)

try:


Caricamento…
Annulla
Salva