|
@@ -131,9 +131,10 @@ def fetchDataADEI():
|
|
|
auth=(config['username'],
|
|
|
config['password']))
|
|
|
|
|
|
- with open("static/"+config['title'].lower()+"/images/" + param + ".png", 'wb') as handle:
|
|
|
- for chunk in image.iter_content():
|
|
|
- handle.write(chunk)
|
|
|
+ # I think this is not used
|
|
|
+ #with open("static/"+config['title'].lower()+"/images/" + param + ".png", 'wb') as handle:
|
|
|
+ # for chunk in image.iter_content():
|
|
|
+ # handle.write(chunk)
|
|
|
|
|
|
with open("/tmp/.tmp.yaml", 'w') as stream_tmp:
|
|
|
stream_tmp.write(yaml.dump(cache_data, default_flow_style=False))
|