summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/XFileSharingProFolder.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-29 08:40:17 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-29 08:40:17 +0200
commite42f5783442fcbaa53e6c0faf943dd33c397e0b3 (patch)
treed5929a9bd2618320eee2a4f08bd67b258cef9de6 /module/plugins/crypter/XFileSharingProFolder.py
parentFix https://github.com/pyload/pyload/issues/1588 (diff)
downloadpyload-e42f5783442fcbaa53e6c0faf943dd33c397e0b3.tar.xz
Fix _log method
Diffstat (limited to 'module/plugins/crypter/XFileSharingProFolder.py')
-rw-r--r--module/plugins/crypter/XFileSharingProFolder.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/crypter/XFileSharingProFolder.py b/module/plugins/crypter/XFileSharingProFolder.py
index 834843c71..1340faf35 100644
--- a/module/plugins/crypter/XFileSharingProFolder.py
+++ b/module/plugins/crypter/XFileSharingProFolder.py
@@ -8,7 +8,7 @@ from module.plugins.internal.XFSCrypter import XFSCrypter, create_getInfo
class XFileSharingProFolder(XFSCrypter):
__name__ = "XFileSharingProFolder"
__type__ = "crypter"
- __version__ = "0.10"
+ __version__ = "0.11"
__status__ = "testing"
__pattern__ = r'https?://(?:www\.)?(?:\w+\.)*?(?P<DOMAIN>(?:[\d.]+|[\w\-^_]{3,}(?:\.[a-zA-Z]{2,}){1,2})(?:\:\d+)?)/(?:user|folder)s?/\w+'
@@ -21,7 +21,10 @@ class XFileSharingProFolder(XFSCrypter):
def _log(self, level, plugintype, pluginname, messages):
- return super(XFileSharingProFolder, self)._log(level, plugintype, pluginname, (self.HOSTER_NAME,) + messages)
+ return super(XFileSharingProFolder, self)._log(level,
+ plugintype,
+ "%s: %s" % (pluginname, self.HOSTER_NAME),
+ messages)
def init(self):