no / in filename
This commit is contained in:
parent
686bf450e4
commit
b643997518
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ def getTextByLetter(letter):
|
||||||
title = decodeHtml(r[2])
|
title = decodeHtml(r[2])
|
||||||
author_foder = canonicalName(author)
|
author_foder = canonicalName(author)
|
||||||
author_foder = os.path.join(author_foder[0], author_foder)
|
author_foder = os.path.join(author_foder[0], author_foder)
|
||||||
filename = os.path.join(author_foder, '%s (aaarg %s).pdf' % (title, id))
|
filename = os.path.join(author_foder, '%s (aaarg %s).pdf' % (title.replace('/', '_'), id))
|
||||||
texts.append({
|
texts.append({
|
||||||
'author': author,
|
'author': author,
|
||||||
'title': title,
|
'title': title,
|
||||||
|
|
Loading…
Reference in a new issue