From c748024a2e0f85475875f8dd3f74e360b8951cb0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 16 Feb 2012 21:52:33 +0530 Subject: [PATCH] Fix regression in 0.8.36 that caused the calibredb command to not properly refresh format information in standalone calibre-server processes --- src/calibre/library/database2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/library/database2.py b/src/calibre/library/database2.py index ff99beb384..d3475ffa75 100644 --- a/src/calibre/library/database2.py +++ b/src/calibre/library/database2.py @@ -534,6 +534,7 @@ class LibraryDatabase2(LibraryDatabase, SchemaUpgrade, CustomColumns): def check_if_modified(self): if self.last_modified() > self.last_update_check: self.refresh() + self.refresh_format_cache() self.last_update_check = utcnow() def path(self, index, index_is_id=False):