From 0038b30e2f17a1726920d2d774456205d7d8b4c7 Mon Sep 17 00:00:00 2001 From: Alexander Schmidt Date: Tue, 27 Oct 2020 01:05:34 +0100 Subject: [PATCH] fixing bunch creation --- src/bunch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], -- 2.39.5