浏览代码

Please don't be mad at me.

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

+ 1
- 1
bot/tasks/afc_statistics.py 查看文件

@@ -100,7 +100,7 @@ class Task(BaseTask):
chart = "{{{0}|{1}}}".format(self.tl_header, chart_title)

query = "SELECT * FROM page JOIN row ON page_id = row_id WHERE row_chart = ?"
with self.conn(oursql.DictCursor).cursor() as cursor:
with self.conn.cursor(oursql.DictCursor) as cursor:
cursor.execute(query, chart_id)
for page in cursor:
chart += "\n" + self.compile_chart_row(page)


正在加载...
取消
保存