diff --git a/robots/little_john/telemetry/code/monitor/version1/getdata.py b/robots/little_john/telemetry/code/monitor/version1/getdata.py index 02fd40e..e016e21 100644 --- a/robots/little_john/telemetry/code/monitor/version1/getdata.py +++ b/robots/little_john/telemetry/code/monitor/version1/getdata.py @@ -15,7 +15,7 @@ def getData(starttime, datafeed, testseries, testseries2, fake=False): # two seperate functions, only one of which is run. if fake: timefromstart = (time.time()-starttime) - values = [timefromstart, 100*math.sin(timefromstart)] + values = [timefromstart, 100 + 100*math.sin(timefromstart)] # logging.info("Generated test data: " + str(values)) testseries.addpoint(values) testseries2.addpoint(values) @@ -27,7 +27,7 @@ def getData(starttime, datafeed, testseries, testseries2, fake=False): try: if os == 'Windows': - values = incoming.strip().split(b", ") + values = incoming.strip().split(b', ') else: values = incoming.strip() values = values.split(b', ') -- libgit2 0.21.2