summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/OronComFolder.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-21 15:03:21 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-21 15:03:21 +0200
commit4b61d36bf18931df0a9720047b3619ce245f8a1b (patch)
treefa6214ca6c85eb547dfe7de1ec7502ff3ce71793 /module/plugins/crypter/OronComFolder.py
parentNormalize line endings to avoid line endings merge conflicts (diff)
downloadpyload-4b61d36bf18931df0a9720047b3619ce245f8a1b.tar.xz
Fixed PEP 8 violations in Crypters
Diffstat (limited to 'module/plugins/crypter/OronComFolder.py')
-rwxr-xr-xmodule/plugins/crypter/OronComFolder.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/module/plugins/crypter/OronComFolder.py b/module/plugins/crypter/OronComFolder.py
index 57b273163..f6637033b 100755
--- a/module/plugins/crypter/OronComFolder.py
+++ b/module/plugins/crypter/OronComFolder.py
@@ -1,9 +1,10 @@
# -*- coding: utf-8 -*-
-import re
+import re
from module.plugins.Crypter import Crypter
+
class OronComFolder(Crypter):
__name__ = "OronComFolder"
__type__ = "crypter"
@@ -22,10 +23,11 @@ class OronComFolder(Crypter):
new_links = []
folder = re.search(self.FOLDER_PATTERN, html, re.DOTALL)
- if folder is None: self.fail("Parse error (FOLDER)")
-
+ if folder is None:
+ self.fail("Parse error (FOLDER)")
+
new_links.extend(re.findall(self.LINK_PATTERN, folder.group(0)))
-
+
if new_links:
self.core.files.addLinks(new_links, self.pyfile.package().id)
else: