mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-30 23:00:21 -04:00
Fix #254
This commit is contained in:
parent
8f21147001
commit
bddab5cd0d
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user