Fix #975929 (error downloading purchased book)

This commit is contained in:
Kovid Goyal 2012-04-07 18:45:45 +05:30
parent a689e82b56
commit 38f86047cd

View File

@ -89,6 +89,7 @@ class NPWebView(QWebView):
os.path.join(home, filename),
'*.*')
if name:
name = unicode(name)
self.gui.download_ebook(url, cf, name, name, False)
else:
self.gui.download_ebook(url, cf, filename, tags=self.tags)