mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix regression in database moving code
This commit is contained in:
parent
222d3fa2f3
commit
fcd8ffa493
@ -810,10 +810,10 @@ ALTER TABLE books ADD COLUMN isbn TEXT DEFAULT "" COLLATE NOCASE;
|
|||||||
LibraryDatabase.upgrade_version8(self.conn)
|
LibraryDatabase.upgrade_version8(self.conn)
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
global _lock_file
|
# global _lock_file
|
||||||
_lock_file.close()
|
# _lock_file.close()
|
||||||
os.unlink(_lock_file.name)
|
# os.unlink(_lock_file.name)
|
||||||
_lock_file = None
|
# _lock_file = None
|
||||||
self.conn.close()
|
self.conn.close()
|
||||||
|
|
||||||
@apply
|
@apply
|
||||||
|
Loading…
x
Reference in New Issue
Block a user