diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-09 18:20:24 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-09 18:20:24 +0100 |
commit | 2d302677064dd5996add552ee214093c6d73acea (patch) | |
tree | 9a0b00c5e23fd8e3ce3ab729cade735b579ee4fd /module/plugins/hoster/BasePlugin.py | |
parent | [UnRar] Fix https://github.com/pyload/pyload/issues/1234 (diff) | |
download | pyload-2d302677064dd5996add552ee214093c6d73acea.tar.xz |
Rename fileUrl to getFileURL
Diffstat (limited to 'module/plugins/hoster/BasePlugin.py')
-rw-r--r-- | module/plugins/hoster/BasePlugin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/BasePlugin.py b/module/plugins/hoster/BasePlugin.py index f9eb695ca..42bfed91e 100644 --- a/module/plugins/hoster/BasePlugin.py +++ b/module/plugins/hoster/BasePlugin.py @@ -6,14 +6,14 @@ from urllib import unquote from urlparse import urljoin, urlparse from module.network.HTTPRequest import BadHeader -from module.plugins.internal.SimpleHoster import create_getInfo, fileUrl +from module.plugins.internal.SimpleHoster import create_getInfo, getFileURL from module.plugins.Hoster import Hoster class BasePlugin(Hoster): __name__ = "BasePlugin" __type__ = "hoster" - __version__ = "0.34" + __version__ = "0.35" __pattern__ = r'^unmatchable$' @@ -51,7 +51,7 @@ class BasePlugin(Hoster): for _i in xrange(5): try: - link = fileUrl(self, unquote(pyfile.url)) + link = getFileURL(self, unquote(pyfile.url)) if link: self.download(link, ref=False, disposition=True) |