diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-12-19 14:49:19 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-12-19 14:49:19 +0100 |
commit | 216b61197147e9d230dcc2e5faa8e63db740001e (patch) | |
tree | 24e5602ceced37b5eb1c9e71697a6097de41ecfa /module/plugins | |
parent | new experimental backend, new gui status (unfinished) (diff) | |
download | pyload-216b61197147e9d230dcc2e5faa8e63db740001e.tar.xz |
little changes
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/container/CCF.py | 4 |
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")} |