From bddab5cd0ddb1e31857c9c013c5767ed24330fac Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 20 Oct 2007 21:31:23 +0000 Subject: [PATCH] Fix #254 --- src/libprs500/library/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libprs500/library/database.py b/src/libprs500/library/database.py index 23a26136cb..374b0e0cd5 100644 --- a/src/libprs500/library/database.py +++ b/src/libprs500/library/database.py @@ -1060,7 +1060,7 @@ class LibraryDatabase(object): if not os.path.exists(apath): os.mkdir(apath) for idx in by_author[au]: - title = self.title(idx) + title = re.sub(r'\s', ' ', self.title(idx)) tpath = os.path.join(apath, title) id = str(self.id(idx)) if not os.path.exists(tpath):