summaryrefslogtreecommitdiffstats
path: root/module/plugins/container/CCF.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-15 16:27:44 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-15 16:27:44 +0200
commit8e47b0de30a25d0fd5dfb518bfe4e1e7beff93fd (patch)
tree518c204aa8edbc8b0d33fe1aaa614e539438fae9 /module/plugins/container/CCF.py
parentPrefer single quote for dict key name (diff)
downloadpyload-8e47b0de30a25d0fd5dfb518bfe4e1e7beff93fd.tar.xz
Key attributes cleanup for account, container and crypter plugins
Diffstat (limited to 'module/plugins/container/CCF.py')
-rw-r--r--module/plugins/container/CCF.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/module/plugins/container/CCF.py b/module/plugins/container/CCF.py
index eb27aaae3..a55357af4 100644
--- a/module/plugins/container/CCF.py
+++ b/module/plugins/container/CCF.py
@@ -1,23 +1,26 @@
# -*- coding: utf-8 -*-
import re
-from urllib2 import build_opener
-
-from module.plugins.Container import Container
-from module.lib.MultipartPostHandler import MultipartPostHandler
from os import makedirs
from os.path import exists, join
+from urllib2 import build_opener
+
+from module.lib.MultipartPostHandler import MultipartPostHandler
+from module.plugins.Container import Container
class CCF(Container):
__name__ = "CCF"
__version__ = "0.2"
+
__pattern__ = r'.+\.ccf'
+
__description__ = """CCF container decrypter plugin"""
__author_name__ = "Willnix"
__author_mail__ = "Willnix@pyload.org"
+
def decrypt(self, pyfile):
infile = pyfile.url.replace("\n", "")