summaryrefslogtreecommitdiffstats
path: root/module/plugins/container/CCF.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-19 14:49:19 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-19 14:49:19 +0100
commit216b61197147e9d230dcc2e5faa8e63db740001e (patch)
tree24e5602ceced37b5eb1c9e71697a6097de41ecfa /module/plugins/container/CCF.py
parentnew experimental backend, new gui status (unfinished) (diff)
downloadpyload-216b61197147e9d230dcc2e5faa8e63db740001e.tar.xz
little changes
Diffstat (limited to 'module/plugins/container/CCF.py')
-rw-r--r--module/plugins/container/CCF.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/container/CCF.py b/module/plugins/container/CCF.py
index 8b35589f3..90502c001 100644
--- a/module/plugins/container/CCF.py
+++ b/module/plugins/container/CCF.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
import re
-import urllib2
+from urllib2 import build_opener
from module.plugins.Container import Container
from module.network.MultipartPostHandler import MultipartPostHandler
@@ -22,7 +22,7 @@ class CCF(Container):
infile = pyfile.url.replace("\n", "")
- opener = urllib2.build_opener(MultipartPostHandler)
+ opener = build_opener(MultipartPostHandler)
params = {"src": "ccf",
"filename": "test.ccf",
"upload": open(infile, "rb")}