Remove a statement using a name that is never defined in scope.

The intention may have been to close the “current” database cursor; but
there is no reference to that at this point in the code.
This commit is contained in:
Ben Finney 2022-12-19 09:52:20 +11:00
parent 1ad357ba4a
commit 2a7e4fcd6e

View file

@ -69,7 +69,6 @@ except Exception:
@atexit.register
def close_db():
cursor.close()
database.close()