From 198023be0f62ef6bb35cdd5ae78f90ab0a6f187e Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 19 Jun 2021 10:23:29 +0200 Subject: Update Python / Golang Interface --- python/birdscan/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') 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__": -- cgit v1.2.3-70-g09d2