X-Git-Url: https://projects.mako.cc/source/iron-blogger/blobdiff_plain/81be85441f9314f889d3bccb73c2f9e5fa70fb4a..d9449b6b588a35f54b61698de5f82ebde11af118:/render.py diff --git a/render.py b/render.py index f226adb..cacd90d 100755 --- a/render.py +++ b/render.py @@ -33,7 +33,7 @@ def get_debts(): debts.append((user, val)) return debts -def render_template(path, week=None): +def render_template(path, week=None, **kwargs): with open('out/report.yml') as r: report = yaml.safe_load(r) @@ -93,7 +93,7 @@ def render_template(path, week=None): week=week, week_start=week_start,week_end=week_end, good=good, lame=lame, skip=skip, userlist=userlist, pool=get_balance('Pool'), paid=get_balance('Pool:Paid'), - debts=debts) + debts=debts, **kwargs) if __name__ == '__main__': if len(sys.argv) < 2: