Ver a proveniência

lolk

tags/v0.1^2
Ben Kurtovic há 13 anos
ascendente
cometimento
3b9cc564a5
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      bot/tasks/afc_statistics.py

+ 1
- 1
bot/tasks/afc_statistics.py Ver ficheiro

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


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


Carregando…
Cancelar
Guardar