summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/birdscan/__main__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/birdscan/__main__.py b/python/birdscan/__main__.py
index 77fae73..71ba294 100644
--- a/python/birdscan/__main__.py
+++ b/python/birdscan/__main__.py
@@ -17,7 +17,7 @@ def main():
if len(sys.argv) == 2: # check if argument is given (--debug)
time.sleep(1)
- sys.stdout.write("ok")
+ sys.stdout.write("ok\n")
else:
from picamera import PiCamera
camera = PiCamera()
@@ -28,7 +28,7 @@ def main():
camera.capture("/var/lib/birdscan/{}.jpg".format(
time.strftime("%Y-%m-%d_%H-%M-%S", time.localtime()))
)
- sys.stdout.write("ok")
+ sys.stdout.write("ok\n")
if __name__ == "__main__":