X-Git-Url: http://git.treefish.org/~alex/photosort.git/blobdiff_plain/0c3d67ff5da26de2b8b531caaaf4b65ec8dc135c..refs/heads/master:/src/bunch.py?ds=inline 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'],