FIx for (#1092 listening to mp3 not working)

This commit is contained in:
Ozzieisaacs
2019-12-01 12:36:55 +01:00
parent 54079b36ae
commit fda0ab1e86
2 changed files with 1 additions and 95 deletions
+1 -1
View File
@@ -567,7 +567,7 @@ def upload():
filepath = os.path.join(config.config_calibre_dir, author_dir, title_dir)
saved_filename = os.path.join(filepath, title_dir + meta.extension.lower())
if unicode(title) != u'Unknown' and unicode(authr) != u'Unknown':
if title != u'Unknown' and authr != u'Unknown':
entry = helper.check_exists_book(authr, title)
if entry:
book_html = flash(_(u"Uploaded book probably exists in the library, consider to change before upload new: ")