Detected 1 occurrence(s) of ‘(api|private)[-_]key[ "']*=[ ="']*\w+’: import cloudfiles as cf def uploadImage(request, id): cf_con = cf.get_connection(username='YYY', api_key='XXX', serviceNet=True) container = cf_con.get_container('container_name') file = request.FILES["item_photo"] f = StringIO(file.read()) f = Image.open(f) ### Only works if I resize for some reason, otherwise uploads a broken file image = f.resize Source: http://pastebin.com/raw.php?i=9UiPa9mg
↧