summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MegaDebridEu.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-08 02:09:45 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-08 02:15:53 +0100
commitb25bc61dd47d8d3c42969bd0f72443b21c4b059e (patch)
tree6115841c9763289bd400c6171508f397d3526bf5 /module/plugins/hoster/MegaDebridEu.py
parent[ZippyshareCom] Typo (diff)
downloadpyload-b25bc61dd47d8d3c42969bd0f72443b21c4b059e.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/MegaDebridEu.py')
-rw-r--r--module/plugins/hoster/MegaDebridEu.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/hoster/MegaDebridEu.py b/module/plugins/hoster/MegaDebridEu.py
index 8bbc733e0..b42362800 100644
--- a/module/plugins/hoster/MegaDebridEu.py
+++ b/module/plugins/hoster/MegaDebridEu.py
@@ -35,10 +35,9 @@ class MegaDebridEu(MultiHoster):
self.exitOnFail("Unable to connect to Mega-debrid.eu")
self.link = self.debridLink(pyfile.url)
- self.logDebug("New URL: " + self.link)
filename = self.getFilename(self.link)
- if filename != "":
+ if filename:
pyfile.name = filename