diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-11 17:08:29 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-11 17:08:29 +0100 |
commit | 1de45d9f4f2a39e205dd99e0dcf8b0c323537fea (patch) | |
tree | b83d12fd13a27d798326d8a5e2fda136cab009e4 /pyload/utils | |
parent | Bucket and CookieJar from 0.5.0 (diff) | |
download | pyload-1de45d9f4f2a39e205dd99e0dcf8b0c323537fea.tar.xz |
Spare code cosmetics
Diffstat (limited to 'pyload/utils')
-rw-r--r-- | pyload/utils/packagetools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/utils/packagetools.py b/pyload/utils/packagetools.py index d930157e1..9dbde9b50 100644 --- a/pyload/utils/packagetools.py +++ b/pyload/utils/packagetools.py @@ -138,7 +138,7 @@ def parseNames(files): # fallback: package by hoster if not name: - name = urlparse(file).hostname + name = urlparse(file).netloc if name: name = pat0.sub("", name) |