summaryrefslogtreecommitdiffstats
path: root/pyload/utils/packagetools.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/utils/packagetools.py')
-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)