From a716a1e74c100df534d1c21f92afe1c752e71aa0 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 8 Aug 2011 20:30:13 +0200 Subject: [PATCH] pyLoad 0.4.7 --- module/gui/ConnectionManager.py | 2 +- module/network/HTTPRequest.py | 4 ++-- pyLoadCore.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/module/gui/ConnectionManager.py b/module/gui/ConnectionManager.py index 8bf4ff24b9..8e355bfe14 100644 --- a/module/gui/ConnectionManager.py +++ b/module/gui/ConnectionManager.py @@ -28,7 +28,7 @@ def __init__(self): 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 a966414ee9..68626a7d01 100644 --- a/module/network/HTTPRequest.py +++ b/module/network/HTTPRequest.py @@ -76,7 +76,7 @@ def initHandle(self): #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 @@ def verifyHeader(self): 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 7fcfc0f7a0..3998fdd6a7 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__