Commit cc65e678 authored by Federico Sismondi's avatar Federico Sismondi

Merge branch 'dca_watering' into 'master'

Dca watering

See merge request !11
parents 8826b276 4b256ec2
This diff is collapsed.
......@@ -2,3 +2,4 @@ flask
requests
unidecode
geojson
python-dateutil
......@@ -39,8 +39,10 @@ http_header_post = {
}
# build header for GET
http_header_get = http_header_post.copy()
http_header_get.pop('Content-Type')
http_header_get = {
'Fiware-Service': 'carouge',
'Accept': 'application/json',
}
logger.info('Config: \n\tPOST_DATA_PERIOD: {} seconds \n\tURL: {}'.format(POST_DATA_PERIOD, URL_BASE))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment