Commit the right thing in the weekly update.

This commit is contained in:
Nelson Elhage 2010-05-23 20:16:15 -04:00
parent c5e93e4007
commit e2a5d48d1c

View file

@ -22,7 +22,7 @@ with open('ledger', 'a') as f:
f.write("\n")
f.write(render.render_template('templates/ledger', sys.argv[1]))
subprocess.check_call(["git", "commit", "templates/ledger",
subprocess.check_call(["git", "commit", "ledger",
"-m", "Update for %s" % (sys.argv[1],)])
text = render.render_template('templates/week.tmpl', sys.argv[1])