diff options
-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])) |