Skip to content

Commit

Permalink
v4.0.5 hope that python is better than qt in handling urls on osx
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellmars committed Mar 20, 2016
1 parent d10cead commit 4958ad0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion calibreletssharebooks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class LetsShareBooks(InterfaceActionBase):
description = 'Share your Calibre library at http://www.memoryoftheworld.org'
supported_platforms = ['windows', 'osx', 'linux']
author = 'Marcell Mars'
version = (4, 0, 4)
version = (4, 0, 5)
minimum_calibre_version = (0, 9, 30)
actual_plugin = 'calibre_plugins.letssharebooks.ui:LetsShareBooksUI'

Expand Down
2 changes: 1 addition & 1 deletion calibreletssharebooks/_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.4
4.0.5
Binary file modified calibreletssharebooks/letssharebooks_calibre.zip
Binary file not shown.
6 changes: 1 addition & 5 deletions calibreletssharebooks/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1602,11 +1602,7 @@ def finished_download(self, uuid4, dl_file):
def http_import(self, r):
logger.debug("DOWNLOAD URLS REQUEST: {}".format(r))
self.books_container.show()
if QT_RUNNING == 5:
request_data = QByteArray.fromPercentEncoding(r).data()
else:
request_data = QByteArray.fromPercentEncoding(r.toUtf8()).data()

request_data = urllib.unquote(r).decode('utf8')
req_seq = request_data[7:].split('__,__')

book = {}
Expand Down

0 comments on commit 4958ad0

Please sign in to comment.