Commit 348f2131 authored by Georg von Zengen's avatar Georg von Zengen


parent 086da9e4
......@@ -10,7 +10,7 @@ import json
def toInfluxdb(file, hostname='localhost', port=8086, username='freifunk', password='freifunk', database='freifunk',jsond=None):
if jsond != None:
jsondata = jsond
else if file != '':
elif file != '':
jsondata = {}
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