mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Fix saving to disk when author is None.
This commit is contained in:
parent
c5af71ca01
commit
d1b930dec3
@ -1005,6 +1005,8 @@ class LibraryDatabase(object):
|
||||
by_author[au] = []
|
||||
by_author[au].append(index)
|
||||
for au in by_author.keys():
|
||||
if au is None:
|
||||
au = ''
|
||||
apath = os.path.join(dir, au)
|
||||
if not os.path.exists(apath):
|
||||
os.mkdir(apath)
|
||||
|
Loading…
x
Reference in New Issue
Block a user