summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/RealdebridCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/RealdebridCom.py')
-rw-r--r--pyload/plugins/hoster/RealdebridCom.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyload/plugins/hoster/RealdebridCom.py b/pyload/plugins/hoster/RealdebridCom.py
index 3c796232e..73baff5b3 100644
--- a/pyload/plugins/hoster/RealdebridCom.py
+++ b/pyload/plugins/hoster/RealdebridCom.py
@@ -12,7 +12,7 @@ from module.plugins.Hoster import Hoster
class RealdebridCom(Hoster):
__name__ = "RealdebridCom"
- __version__ = "0.49"
+ __version__ = "0.51"
__type__ = "hoster"
__pattern__ = r"https?://.*real-debrid\..*"
@@ -37,10 +37,10 @@ class RealdebridCom(Hoster):
def process(self, pyfile):
if not self.account:
- self.logError(_("Please enter your Real-debrid account or deactivate this plugin"))
+ self.logError(_("Please enter your %s account or deactivate this plugin") % "Real-debrid")
self.fail("No Real-debrid account provided")
- self.log.debug("Real-Debrid: Old URL: %s" % pyfile.url)
+ self.logDebug("Real-Debrid: Old URL: %s" % pyfile.url)
if re.match(self.__pattern__, pyfile.url):
new_url = pyfile.url
else:
@@ -71,7 +71,7 @@ class RealdebridCom(Hoster):
else:
new_url = new_url.replace("https://", "http://")
- self.log.debug("Real-Debrid: New URL: %s" % new_url)
+ self.logDebug("Real-Debrid: New URL: %s" % new_url)
if pyfile.name.startswith("http") or pyfile.name.startswith("Unknown") or pyfile.name.endswith('..'):
#only use when name wasnt already set