diff options
| author | 2015-07-30 21:04:38 +0200 | |
|---|---|---|
| committer | 2015-07-30 21:04:38 +0200 | |
| commit | 503906b69e7ffcad398a2529c64b806cf7c5b558 (patch) | |
| tree | 6d9eba7a0190b824cabda799a3b0da8700c34730 /module/plugins/internal | |
| parent | [AntiStandby] Fix import typo (diff) | |
| download | pyload-503906b69e7ffcad398a2529c64b806cf7c5b558.tar.xz | |
Fix https://github.com/pyload/pyload/issues/1624
Diffstat (limited to 'module/plugins/internal')
| -rw-r--r-- | module/plugins/internal/Hoster.py | 8 | 
1 files changed, 2 insertions, 6 deletions
diff --git a/module/plugins/internal/Hoster.py b/module/plugins/internal/Hoster.py index d30c56035..1b96f1201 100644 --- a/module/plugins/internal/Hoster.py +++ b/module/plugins/internal/Hoster.py @@ -47,7 +47,7 @@ def create_getInfo(klass):  class Hoster(Plugin):      __name__    = "Hoster"      __type__    = "hoster" -    __version__ = "0.11" +    __version__ = "0.12"      __status__  = "testing"      __pattern__ = r'^unmatchable$' @@ -385,11 +385,7 @@ class Hoster(Plugin):          self.pyfile.setStatus("downloading") -        if disposition: -            self.pyfile.name = urlparse.urlparse(url).path.split('/')[-1] or self.pyfile.name -          download_folder = self.pyload.config.get("general", "download_folder") -          location = fs_join(download_folder, self.pyfile.package().folder)          if not exists(location): @@ -402,7 +398,7 @@ class Hoster(Plugin):                      os.chown(location, uid, gid)              except Exception, e: -                self.fail(str(e))  #@TODO: Remove `str` in 0.4.10 +                self.fail(e)          #: Convert back to unicode          location = fs_decode(location)  | 
