From 0cef7d8662d6a2f1e6471a965fa19e8755a2fa06 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 1 Oct 2010 11:39:40 -0600 Subject: [PATCH] ... --- src/calibre/library/restore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/library/restore.py b/src/calibre/library/restore.py index c81cf7abcb..ab4e59a4c3 100644 --- a/src/calibre/library/restore.py +++ b/src/calibre/library/restore.py @@ -39,7 +39,7 @@ class Restore(Thread): self.src_library_path = os.path.abspath(library_path) self.progress_callback = progress_callback self.db_id_regexp = re.compile(r'^.* \((\d+)\)$') - self.bad_ext_pat = re.compile(r'[^a-z]+') + self.bad_ext_pat = re.compile(r'[^a-z0-9]+') if not callable(self.progress_callback): self.progress_callback = lambda x, y: x self.dirs = []