summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-26 23:17:48 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-26 23:17:48 +0200
commitfc3f1b94f4e8f59dbc4c989967e54e2c079f5a21 (patch)
tree433d548b9830961dfb4f1d9c3018402a856cc540 /module/plugins
parentcli python 2.5 fix (diff)
downloadpyload-fc3f1b94f4e8f59dbc4c989967e54e2c079f5a21.tar.xz
realdebrid fix
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/RealdebridCom.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hoster/RealdebridCom.py b/module/plugins/hoster/RealdebridCom.py
index 5db81b713..d86259c4c 100644
--- a/module/plugins/hoster/RealdebridCom.py
+++ b/module/plugins/hoster/RealdebridCom.py
@@ -58,7 +58,9 @@ class RealdebridCom(Hoster):
self.log.debug("Real-Debrid: New URL: %s" % new_url)
try:
- pyfile.name = self.getFilename(new_url)
+ if pyfile.name.startswith("http") or pyfile.name.startswith("Unknown"):
+ #only use when name wasnt already set
+ pyfile.name = self.getFilename(new_url)
except IndexError:
pyfile.name = "Unknown_Filename.ext"