From 8e15c1af88b61cebda68a3b40352bf388c2010c7 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 10 Oct 2015 17:49:14 +0200 Subject: Spare code cosmetics (3) --- module/plugins/crypter/XFileSharingProFolder.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/crypter/XFileSharingProFolder.py') diff --git a/module/plugins/crypter/XFileSharingProFolder.py b/module/plugins/crypter/XFileSharingProFolder.py index 615e9f224..aa65ccd12 100644 --- a/module/plugins/crypter/XFileSharingProFolder.py +++ b/module/plugins/crypter/XFileSharingProFolder.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSCrypter import XFSCrypter, create_getInfo class XFileSharingProFolder(XFSCrypter): - __name__ = "XFileSharingProFolder" + __name = "XFileSharingPro" __type__ = "crypter" __version__ = "0.14" __status__ = "testing" @@ -30,9 +30,9 @@ class XFileSharingProFolder(XFSCrypter): def init(self): super(XFileSharingProFolder, self).init() - self.__pattern__ = self.pyload.pluginManager.crypterPlugins[self.__name__]['pattern'] + self.__pattern = self.pyload.pluginManager.crypterPlugins[self.__name__]['pattern'] - self.PLUGIN_DOMAIN = re.match(self.__pattern__, self.pyfile.url).group("DOMAIN").lower() + self.PLUGIN_DOMAIN = re.match(self.__pattern, self.pyfile.url).group("DOMAIN").lower() self.PLUGIN_NAME = "".join(part.capitalize() for part in re.split(r'(\.|\d+|-)', self.PLUGIN_DOMAIN) if part != '.') -- cgit v1.2.3