diff options
Diffstat (limited to 'module/plugins/hoster/RapidgatorNet.py')
-rw-r--r-- | module/plugins/hoster/RapidgatorNet.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/RapidgatorNet.py b/module/plugins/hoster/RapidgatorNet.py index bd6bb8582..e5298726c 100644 --- a/module/plugins/hoster/RapidgatorNet.py +++ b/module/plugins/hoster/RapidgatorNet.py @@ -65,7 +65,7 @@ class RapidgatorNet(SimpleHoster): try: json = self.load('%s/%s' % (self.API_URL, cmd), get={'sid': self.sid, - 'url': self.pyfile.url}, decode=True) + 'url': self.pyfile.url}) self.logDebug("API:%s" % cmd, json, "SID: %s" % self.sid) json = json_loads(json) status = json['response_status'] @@ -154,7 +154,7 @@ class RapidgatorNet(SimpleHoster): def getJsonResponse(self, url): - res = self.load(url, decode=True) + res = self.load(url) if not res.startswith('{'): self.retry() self.logDebug(url, res) |