In this case where there's only 1 commit and your change is simple I would just do:

<pre>
git add database.py
git commit --amend
</pre>

Git amend will allow you to redo your last commit to fix it up.