]> git.treefish.org Git - photosort.git/blobdiff - src/bunch.py
set exit status
[photosort.git] / src / bunch.py
index b61ffcec631c5c70b19e0754dd9c21022d7156ea..2ac33ca7547521737b47d2c0bf17944063a2ed0e 100644 (file)
@@ -18,7 +18,7 @@ class Bunch:
         for src_dir_cfg in cfg['src_dirs']:
             self._sources.append(
                 Bunch.TriggeredSource(
-                    DirTrigger(src_dir_cfg['path']),
+                    DirTrigger(src_dir_cfg['path'], src_dir_cfg['cool_time'], src_dir_cfg['max_time']),
                     Migrator(src_dir_cfg['path'], cfg['dst_dir']['path']),
                     src_dir_cfg['cleanup']
                 )