diff options
author | xengineering <mail2xengineering@protonmail.com> | 2021-06-19 10:23:29 +0200 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2021-06-19 10:23:29 +0200 |
commit | 198023be0f62ef6bb35cdd5ae78f90ab0a6f187e (patch) | |
tree | f207e6c7e2e6d07c262b3fb5f761300bafc3c65f /python | |
parent | 955b242b815024545385ee216b20dac78276b16d (diff) | |
download | birdscan-198023be0f62ef6bb35cdd5ae78f90ab0a6f187e.tar birdscan-198023be0f62ef6bb35cdd5ae78f90ab0a6f187e.tar.zst birdscan-198023be0f62ef6bb35cdd5ae78f90ab0a6f187e.zip |
Update Python / Golang Interface
Diffstat (limited to 'python')
-rw-r--r-- | python/birdscan/__main__.py | 4 |
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__": |