浏览代码

Fix int->str.

tags/v0.1^2
Ben Kurtovic 12 年前
父节点
当前提交
d269d9de80
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      bot/classes/base_task.py

+ 1
- 1
bot/classes/base_task.py 查看文件

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


正在加载...
取消
保存