summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2021-06-19 10:23:29 +0200
committerxengineering <mail2xengineering@protonmail.com>2021-06-19 10:23:29 +0200
commit198023be0f62ef6bb35cdd5ae78f90ab0a6f187e (patch)
treef207e6c7e2e6d07c262b3fb5f761300bafc3c65f /python
parent955b242b815024545385ee216b20dac78276b16d (diff)
downloadbirdscan-198023be0f62ef6bb35cdd5ae78f90ab0a6f187e.tar
birdscan-198023be0f62ef6bb35cdd5ae78f90ab0a6f187e.tar.zst
birdscan-198023be0f62ef6bb35cdd5ae78f90ab0a6f187e.zip
Update Python / Golang Interface
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__":