X-Git-Url: http://git.treefish.org/~alex/photosort.git/blobdiff_plain/ef745f5c8e8191f8ff341cb6fcf39179e34eb2bd..refs/heads/daemon:/src/photosort-daemon.py diff --git a/src/photosort-daemon.py b/src/photosort-daemon.py index 9bb7213..cdd652d 100755 --- a/src/photosort-daemon.py +++ b/src/photosort-daemon.py @@ -42,6 +42,9 @@ for bunch in bunches: bunch.start() while not stop: + for bunch in bunches: + if not bunch.is_running(): + stop = True time.sleep(2.0) for bunch in bunches: