diff options
author | Stefano <l.stickell@yahoo.it> | 2013-07-17 13:53:09 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-07-17 13:53:09 +0200 |
commit | 96e9e7503f34260a2c34dd4f17d03287936e4d31 (patch) | |
tree | ec6a7049ec03e91fb856850e0a50cb372d2b3aaf /module/plugins/hoster/RealdebridCom.py | |
parent | BitshareCom: fixed #188 (diff) | |
parent | fixed log api call for several plugins (diff) | |
download | pyload-96e9e7503f34260a2c34dd4f17d03287936e4d31.tar.xz |
Merge pull request #199 from vuolter/pluginlogfix
Fix log api call for several plugins
Diffstat (limited to 'module/plugins/hoster/RealdebridCom.py')
-rw-r--r-- | module/plugins/hoster/RealdebridCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/RealdebridCom.py b/module/plugins/hoster/RealdebridCom.py index ff4843afd..54cbf9b32 100644 --- a/module/plugins/hoster/RealdebridCom.py +++ b/module/plugins/hoster/RealdebridCom.py @@ -12,7 +12,7 @@ from module.plugins.Hoster import Hoster class RealdebridCom(Hoster):
__name__ = "RealdebridCom"
- __version__ = "0.49"
+ __version__ = "0.50"
__type__ = "hoster"
__pattern__ = r"https?://.*real-debrid\..*"
@@ -40,7 +40,7 @@ class RealdebridCom(Hoster): self.logError(_("Please enter your Real-debrid account or deactivate this plugin"))
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
|