Browse Source

Fix int->str.

tags/v0.1^2
Ben Kurtovic 13 years ago
parent
commit
d269d9de80
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bot/classes/base_task.py

+ 1
- 1
bot/classes/base_task.py View 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.


Loading…
Cancel
Save