mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix regression in 0.8.36 that caused the calibredb command to not properly refresh format information in standalone calibre-server processes
This commit is contained in:
parent
8420d9967c
commit
c748024a2e
@ -534,6 +534,7 @@ class LibraryDatabase2(LibraryDatabase, SchemaUpgrade, CustomColumns):
|
|||||||
def check_if_modified(self):
|
def check_if_modified(self):
|
||||||
if self.last_modified() > self.last_update_check:
|
if self.last_modified() > self.last_update_check:
|
||||||
self.refresh()
|
self.refresh()
|
||||||
|
self.refresh_format_cache()
|
||||||
self.last_update_check = utcnow()
|
self.last_update_check = utcnow()
|
||||||
|
|
||||||
def path(self, index, index_is_id=False):
|
def path(self, index, index_is_id=False):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user