浏览代码

Merge pull request #6 from czarkoff/develop

Support "collapsed" option in "compile_chart"
pull/8/merge
Ben Kurtovic 12 年前
父节点
当前提交
60650ed23a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      tasks/drn_clerkbot.py

+ 1
- 1
tasks/drn_clerkbot.py 查看文件

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

def compile_chart(self, conn):
"""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 != ?"
with conn.cursor(oursql.DictCursor) as cursor:
cursor.execute(query, (self.STATUS_UNKNOWN,))


正在加载...
取消
保存