mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-03-06 16:13:48 +01:00
Fix regression in database moving code
This commit is contained in:
parent
222d3fa2f3
commit
fcd8ffa493
1 changed files with 4 additions and 4 deletions
|
|
@ -810,10 +810,10 @@ def __init__(self, dbpath):
|
|||
LibraryDatabase.upgrade_version8(self.conn)
|
||||
|
||||
def close(self):
|
||||
global _lock_file
|
||||
_lock_file.close()
|
||||
os.unlink(_lock_file.name)
|
||||
_lock_file = None
|
||||
# global _lock_file
|
||||
# _lock_file.close()
|
||||
# os.unlink(_lock_file.name)
|
||||
# _lock_file = None
|
||||
self.conn.close()
|
||||
|
||||
@apply
|
||||
|
|
|
|||
Loading…
Reference in a new issue