diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-04-30 21:37:01 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-04-30 21:37:01 +0200 |
commit | 07471fe730b0a50fb3b23ec0eb78061046867500 (patch) | |
tree | 7881f0bac05f39a14b07f3445f04a2d359892721 /module/plugins/hoster/BasePlugin.py | |
parent | closed #290, #291, #292 (diff) | |
download | pyload-07471fe730b0a50fb3b23ec0eb78061046867500.tar.xz |
Diffstat (limited to 'module/plugins/hoster/BasePlugin.py')
-rw-r--r-- | module/plugins/hoster/BasePlugin.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/module/plugins/hoster/BasePlugin.py b/module/plugins/hoster/BasePlugin.py index 50652010c..7b3f56c4d 100644 --- a/module/plugins/hoster/BasePlugin.py +++ b/module/plugins/hoster/BasePlugin.py @@ -31,14 +31,10 @@ class BasePlugin(Hoster): # self.core.server_methods.add_package("test", [str(i) for i in range(80)], 1) # # return - - - self.load("http://pyload.org", just_header=True) - if pyfile.url.startswith("http"): pyfile.name = re.findall("([^/=]+)", pyfile.url)[-1] - self.download(pyfile.url) + self.download(pyfile.url, disposition=True) else: self.fail("No Plugin matched and not a downloadable url.")
\ No newline at end of file |