diff options
Diffstat (limited to 'pyload/plugin/hoster/RealdebridCom.py')
-rw-r--r-- | pyload/plugin/hoster/RealdebridCom.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/RealdebridCom.py b/pyload/plugin/hoster/RealdebridCom.py index 16744bc3d..c78fc8b55 100644 --- a/pyload/plugin/hoster/RealdebridCom.py +++ b/pyload/plugin/hoster/RealdebridCom.py @@ -12,15 +12,15 @@ from pyload.utils import parseFileSize class RealdebridCom(Hoster): - __name = "RealdebridCom" - __type = "hoster" - __version = "0.53" + __name__ = "RealdebridCom" + __type__ = "hoster" + __version__ = "0.53" - __pattern = r'https?://(?:[^/]*\.)?real-debrid\..*' + __pattern__ = r'https?://(?:[^/]*\.)?real-debrid\..*' - __description = """Real-Debrid.com hoster plugin""" - __license = "GPLv3" - __authors = [("Devirex Hazzard", "naibaf_11@yahoo.de")] + __description__ = """Real-Debrid.com hoster plugin""" + __license__ = "GPLv3" + __authors__ = [("Devirex Hazzard", "naibaf_11@yahoo.de")] def getFilename(self, url): @@ -39,7 +39,7 @@ class RealdebridCom(Hoster): def process(self, pyfile): - if re.match(self.__pattern, pyfile.url): + if re.match(self.__pattern__, pyfile.url): new_url = pyfile.url elif not self.account: self.logError(_("Please enter your %s account or deactivate this plugin") % "Real-debrid") |