diff options
author | mkaay <mkaay@mkaay.de> | 2010-01-13 21:22:29 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-01-13 21:22:29 +0100 |
commit | 8fd337815ce73a3b44dc0fa0a913c3d3efea09bb (patch) | |
tree | 7be5e1b5a29781b69e901d136a761b53963e0a57 | |
parent | queue template + view (diff) | |
download | pyload-8fd337815ce73a3b44dc0fa0a913c3d3efea09bb.tar.xz |
fix
-rw-r--r-- | module/plugins/hoster/RapidshareCom.py | 2 | ||||
-rw-r--r-- | module/web/pyload/views.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py index 10654e5c8..e0ea06f8e 100644 --- a/module/plugins/hoster/RapidshareCom.py +++ b/module/plugins/hoster/RapidshareCom.py @@ -113,7 +113,7 @@ class RapidshareCom(Plugin): return fields = src.split("\n") premkbleft = int(fields[19].split("=")[1]) - if premkbleft < int(self.api_data["size"][0:-3]): + if False and premkbleft < int(self.api_data["size"][0:-3]): self.logger.info("Rapidshare: Not enough traffic left") self.config["premium"] = False else: diff --git a/module/web/pyload/views.py b/module/web/pyload/views.py index 55887d711..994075001 100644 --- a/module/web/pyload/views.py +++ b/module/web/pyload/views.py @@ -77,7 +77,7 @@ def queue(request): for pack in queue: children = [] for child in settings.PYLOAD.get_package_files(pack["id"]): - children.append(settings.PYLOAD.get_file_info()) + children.append(settings.PYLOAD.get_file_info(child)) pack["children"] = children return render_to_response(join(settings.TEMPLATE, 'queue.html'), RequestContext(request, {'content': queue}, [status_proc])) |