Skip to content

Commit a716a1e

Browse files
committed
pyLoad 0.4.7
1 parent de07cd5 commit a716a1e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

module/gui/ConnectionManager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(self):
2828
QWidget.__init__(self)
2929

3030
QMessageBox.warning(self, 'Warning',
31-
"We are sorry but the GUI is not stable anymore. Please use the webinterface for much better experience. \n", QMessageBox.Ok)
31+
"We are sorry but the GUI is not usable anymore. Please use the webinterface for much better experience. \n", QMessageBox.Ok)
3232

3333
return
3434

module/network/HTTPRequest.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def initHandle(self):
7676

7777
#self.c.setopt(pycurl.VERBOSE, 1)
7878

79-
self.c.setopt(pycurl.USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv:1.9.2.10) Gecko/20100916 Firefox/3.6.10")
79+
self.c.setopt(pycurl.USERAGENT, "Mozilla/5.0 (Windows NT 6.1; Win64; x64;en; rv:5.0) Gecko/20110619 Firefox/5.0")
8080
if pycurl.version_info()[7]:
8181
self.c.setopt(pycurl.ENCODING, "gzip, deflate")
8282
self.c.setopt(pycurl.HTTPHEADER, ["Accept: */*",
@@ -204,7 +204,7 @@ def verifyHeader(self):
204204

205205
def getResponse(self):
206206
""" retrieve response from string io """
207-
if not self.rep: return None
207+
if self.rep is None: return ""
208208
value = self.rep.getvalue()
209209
self.rep.close()
210210
self.rep = StringIO()

pyLoadCore.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
@author: sebnapi
1919
@author: RaNaN
2020
@author: mkaay
21-
@version: v0.4.6
21+
@version: v0.4.7
2222
"""
23-
CURRENT_VERSION = '0.4.6-dev'
23+
CURRENT_VERSION = '0.4.7'
2424

2525
import __builtin__
2626

0 commit comments

Comments
 (0)