Dmitrij D. Czarkoff pirms 12 gadiem
vecāks
revīzija
77025741c1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      tasks/drn_clerkbot.py

+ 1
- 1
tasks/drn_clerkbot.py Parādīt failu

@@ -696,7 +696,7 @@ class DRNClerkBot(Task):


def compile_chart(self, conn): def compile_chart(self, conn):
"""Actually generate the chart from the database.""" """Actually generate the chart from the database."""
chart = "{{" + self.tl_chart_header + "|small={{{small|}}}}}\n"
chart = "{{" + self.tl_chart_header + "|small={{{small|}}}|collapsed={{{collapsed|}}}}}\n"
query = "SELECT * FROM cases WHERE case_status != ?" query = "SELECT * FROM cases WHERE case_status != ?"
with conn.cursor(oursql.DictCursor) as cursor: with conn.cursor(oursql.DictCursor) as cursor:
cursor.execute(query, (self.STATUS_UNKNOWN,)) cursor.execute(query, (self.STATUS_UNKNOWN,))


Notiek ielāde…
Atcelt
Saglabāt