fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new cover scheme; Cover accepts BookInfo now; e-books include cover attribution,...
[librarian.git]
/
librarian
/
parser.py
diff --git
a/librarian/parser.py
b/librarian/parser.py
index
469b7df
..
5ae06e2
100644
(file)
--- a/
librarian/parser.py
+++ b/
librarian/parser.py
@@
-191,7
+191,8
@@
class WLDocument(object):
if make_author_dir:
save_path = os.path.join(save_path,
unicode(self.book_info.author).encode('utf-8'))
if make_author_dir:
save_path = os.path.join(save_path,
unicode(self.book_info.author).encode('utf-8'))
- save_path = os.path.join(save_path, self.book_info.slug)
+ save_path = os.path.join(save_path,
+ self.book_info.uri.filename_stem())
if ext:
save_path += '.%s' % ext
else:
if ext:
save_path += '.%s' % ext
else: