summaryrefslogtreecommitdiffstats
path: root/pyload/utils
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-11 17:08:29 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-11 17:08:29 +0100
commit1de45d9f4f2a39e205dd99e0dcf8b0c323537fea (patch)
treeb83d12fd13a27d798326d8a5e2fda136cab009e4 /pyload/utils
parentBucket and CookieJar from 0.5.0 (diff)
downloadpyload-1de45d9f4f2a39e205dd99e0dcf8b0c323537fea.tar.xz
Spare code cosmetics
Diffstat (limited to 'pyload/utils')
-rw-r--r--pyload/utils/packagetools.py2
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)