summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/gui/ConnectionManager.py2
-rw-r--r--module/network/HTTPRequest.py4
-rwxr-xr-xpyLoadCore.py4
3 files changed, 5 insertions, 5 deletions
diff --git a/module/gui/ConnectionManager.py b/module/gui/ConnectionManager.py
index 8bf4ff24b..8e355bfe1 100644
--- a/module/gui/ConnectionManager.py
+++ b/module/gui/ConnectionManager.py
@@ -28,7 +28,7 @@ class ConnectionManager(QWidget):
QWidget.__init__(self)
QMessageBox.warning(self, 'Warning',
- "We are sorry but the GUI is not stable anymore. Please use the webinterface for much better experience. \n", QMessageBox.Ok)
+ "We are sorry but the GUI is not usable anymore. Please use the webinterface for much better experience. \n", QMessageBox.Ok)
return
diff --git a/module/network/HTTPRequest.py b/module/network/HTTPRequest.py
index a966414ee..68626a7d0 100644
--- a/module/network/HTTPRequest.py
+++ b/module/network/HTTPRequest.py
@@ -76,7 +76,7 @@ class HTTPRequest():
#self.c.setopt(pycurl.VERBOSE, 1)
- 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")
+ self.c.setopt(pycurl.USERAGENT, "Mozilla/5.0 (Windows NT 6.1; Win64; x64;en; rv:5.0) Gecko/20110619 Firefox/5.0")
if pycurl.version_info()[7]:
self.c.setopt(pycurl.ENCODING, "gzip, deflate")
self.c.setopt(pycurl.HTTPHEADER, ["Accept: */*",
@@ -204,7 +204,7 @@ class HTTPRequest():
def getResponse(self):
""" retrieve response from string io """
- if not self.rep: return None
+ if self.rep is None: return ""
value = self.rep.getvalue()
self.rep.close()
self.rep = StringIO()
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 7fcfc0f7a..3998fdd6a 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -18,9 +18,9 @@
@author: sebnapi
@author: RaNaN
@author: mkaay
- @version: v0.4.6
+ @version: v0.4.7
"""
-CURRENT_VERSION = '0.4.6-dev'
+CURRENT_VERSION = '0.4.7'
import __builtin__