From: Alexander Schmidt Date: Tue, 27 Oct 2020 00:05:34 +0000 (+0100) Subject: fixing bunch creation X-Git-Url: http://git.treefish.org/~alex/photosort.git/commitdiff_plain/0038b30e2f17a1726920d2d774456205d7d8b4c7?hp=0c3d67ff5da26de2b8b531caaaf4b65ec8dc135c fixing bunch creation --- diff --git a/src/bunch.py b/src/bunch.py index cfadb2d..1c3fe71 100644 --- a/src/bunch.py +++ b/src/bunch.py @@ -19,8 +19,8 @@ class Bunch: source_idx = 1 self._sources = [] for src_dir_cfg in cfg['src_dirs']: + reg_db = os.path.join(cache_dir, "reg_%d_%d.db" % (idx, source_idx)) self._sources.append( - reg_db = os.path.join(cache_dir, "reg_%d_%d.db" % (idx, source_idx)) Bunch.TriggeredSource( source_idx, DirTrigger(src_dir_cfg['path'], src_dir_cfg['cool_time'],