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:
parent
1ad357ba4a
commit
2a7e4fcd6e
1 changed files with 0 additions and 1 deletions
|
@ -69,7 +69,6 @@ except Exception:
|
|||
|
||||
@atexit.register
|
||||
def close_db():
|
||||
cursor.close()
|
||||
database.close()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue