summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/XFileSharingProFolder.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-08 10:01:24 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-08 10:01:24 +0200
commit3af8bfcf685f82de097ef6b110dffa77fd529eaf (patch)
tree4ececc92c874aaa3522b9c3fa1d45b995074c2e1 /module/plugins/crypter/XFileSharingProFolder.py
parentFix https://github.com/pyload/pyload/issues/1459 (diff)
downloadpyload-3af8bfcf685f82de097ef6b110dffa77fd529eaf.tar.xz
[SimpleHoster] Improve logging and file checking
Diffstat (limited to 'module/plugins/crypter/XFileSharingProFolder.py')
-rw-r--r--module/plugins/crypter/XFileSharingProFolder.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/crypter/XFileSharingProFolder.py b/module/plugins/crypter/XFileSharingProFolder.py
index 2e1a2f022..8043a1183 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.06"
+ __version__ = "0.07"
__pattern__ = r'https?://(?:www\.)?(?:\w+\.)*?(?P<DOMAIN>(?:[\d.]+|[\w\-^_]{3,}(?:\.[a-zA-Z]{2,}){1,2})(?:\:\d+)?)/(?:user|folder)s?/\w+'
__config__ = [("use_subfolder" , "bool", "Save package to subfolder" , True),
@@ -20,9 +20,7 @@ class XFileSharingProFolder(XFSCrypter):
def _log(self, type, args):
- msg = " | ".join(str(a).strip() for a in args if a)
- logger = getattr(self.log, type)
- logger("%s: %s: %s" % (self.__name__, self.HOSTER_NAME, msg or _("%s MARK" % type.upper())))
+ return super(XFileSharingProFolder, self)._log(type, [self.HOSTER_NAME] + args)
def init(self):