From 216b61197147e9d230dcc2e5faa8e63db740001e Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 19 Dec 2010 14:49:19 +0100 Subject: little changes --- module/plugins/container/CCF.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/container/CCF.py') 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")} -- cgit v1.2.3