From 3453a0ecb2c272f9d838947f2b15070367946d8a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 24 Jun 2011 17:24:36 -0600 Subject: [PATCH] ... --- src/calibre/gui2/convert/regex_builder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/gui2/convert/regex_builder.py b/src/calibre/gui2/convert/regex_builder.py index b1ea521dc5..c7b03c9bb4 100644 --- a/src/calibre/gui2/convert/regex_builder.py +++ b/src/calibre/gui2/convert/regex_builder.py @@ -142,6 +142,8 @@ class RegexBuilder(QDialog, Ui_RegexBuilder): try: os.remove(fpath) except: + # Fails on windows if the input plugin for this format keeps the file open + # Happens for LIT files pass return True