diff --git a/oxweb/aaaarg.py b/oxweb/aaaarg.py index cca6385..4e5462a 100644 --- a/oxweb/aaaarg.py +++ b/oxweb/aaaarg.py @@ -44,7 +44,7 @@ def getTextByLetter(letter): title = decodeHtml(r[2]) author_foder = canonicalName(author) 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({ 'author': author, 'title': title,