]> git.treefish.org Git - photosort.git/blobdiff - src/photosort-daemon.py
continue with daemon implementation
[photosort.git] / src / photosort-daemon.py
index 9bb7213dc66dfd395dc9c0ccae1c51f4b6976ff0..cdd652d2efac171025737402bb9f87239686b4dc 100755 (executable)
@@ -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: