Fix restore database not restoring entries for the original_* formats

This commit is contained in:
Kovid Goyal 2012-08-14 10:16:15 +05:30
parent 4f117c0fb7
commit 9631fc0ca9

View File

@ -42,7 +42,7 @@ class Restore(Thread):
self.src_library_path = os.path.abspath(library_path) self.src_library_path = os.path.abspath(library_path)
self.progress_callback = progress_callback self.progress_callback = progress_callback
self.db_id_regexp = re.compile(r'^.* \((\d+)\)$') self.db_id_regexp = re.compile(r'^.* \((\d+)\)$')
self.bad_ext_pat = re.compile(r'[^a-z0-9]+') self.bad_ext_pat = re.compile(r'[^a-z0-9_]+')
if not callable(self.progress_callback): if not callable(self.progress_callback):
self.progress_callback = lambda x, y: x self.progress_callback = lambda x, y: x
self.dirs = [] self.dirs = []