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.
pull/2/head
Ben Finney 2022-12-19 09:52:20 +11:00
rodzic 1ad357ba4a
commit 2a7e4fcd6e
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

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