Skip to content
Snippets Groups Projects
Commit 0e83b178 authored by Henrik Tjäder's avatar Henrik Tjäder
Browse files

After adding filename, off by one. Corrected.

parent 573395b5
Branches
Tags
No related merge requests found
......@@ -185,14 +185,14 @@ def stop_event(evt):
return
print("CYCCNT: %s\nCeiling: %s" % (cyccnt, outputdata[-1][2]))
print("CYCCNT: %s\nCeiling: %s" % (cyccnt, outputdata[-1][3]))
"""
If outputdata is empty, we start
If the same ceiling as previously: exit
"""
if len(outputdata):
if outputdata[-1][2] >= ceiling:
if outputdata[-1][3] >= ceiling:
action = "Exit"
else:
action = "Enter"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment