diff options
Diffstat (limited to 'module/plugins/container/CCF.py')
-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")} |