fixup! Change file paths definitions and parsing
This commit is contained in:
parent
f88255e3c5
commit
851b5b0d76
|
@ -124,9 +124,9 @@ def _sort(debug, dry_run, destination, copy, exclude_regex, filter_by_ext, ignor
|
||||||
# Initialize Db
|
# Initialize Db
|
||||||
db = Db(destination)
|
db = Db(destination)
|
||||||
|
|
||||||
if 'Directory' in conf and 'day_begins' in conf['Directory']:
|
if 'Path' in conf and 'day_begins' in conf['Path']:
|
||||||
config_directory = conf['Directory']
|
config_directory = conf['Path']
|
||||||
day_begins = config_directory['day_begins']
|
day_begins = int(config_directory['day_begins'])
|
||||||
else:
|
else:
|
||||||
day_begins = 0
|
day_begins = 0
|
||||||
filesystem = FileSystem(cache, day_begins, dry_run, exclude_regex_list,
|
filesystem = FileSystem(cache, day_begins, dry_run, exclude_regex_list,
|
||||||
|
|
Loading…
Reference in New Issue