Skip to content
Snippets Groups Projects
Commit a2959d47 authored by Michael DM Dryden's avatar Michael DM Dryden
Browse files

Improve log printing.

parent 57a3cfea
Branches
Tags
No related merge requests found
......@@ -90,7 +90,7 @@ def read_light_sensor():
for line in serial_instance:
if line.lstrip().startswith('T'):
input = line.lstrip().lstrip('T')
elif line.startswith("#"):
elif line.lstrip().startswith("#"):
print line
elif line.lstrip().startswith("no"):
print line
......@@ -121,7 +121,7 @@ def read_settings():
for line in serial_instance:
if line.lstrip().startswith('S'):
input = line.lstrip().lstrip('S')
elif line.startswith("#"):
elif line.lstrip().startswith("#"):
print line
elif line.lstrip().startswith("no"):
print line
......
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