]> projects.mako.cc - iron-blogger/blobdiff - weekly-update.py
Commit the right thing in the weekly update.
[iron-blogger] / weekly-update.py
index 02cefca238c029d79faad4e0b0d7d5e0af2fdaf0..dd217ce8b32114dc29e67373ee8543d3b78da91c 100755 (executable)
@@ -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])

Benjamin Mako Hill || Want to submit a patch?