base dir reverted back to str path
This commit is contained in:
parent
180f6f4989
commit
6847a0d323
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ def track_file(file, base_dir):
|
||||||
|
|
||||||
|
|
||||||
def main(debug=False):
|
def main(debug=False):
|
||||||
base_dir = pathlib.Path(settings['storage']['file_dir'])
|
base_dir = settings['storage']['file_dir']
|
||||||
# Recursively Get All Files and Folder below BASE_DIR
|
# Recursively Get All Files and Folder below BASE_DIR
|
||||||
files = glob.glob('{}/**'.format(base_dir), recursive=True)
|
files = glob.glob('{}/**'.format(base_dir), recursive=True)
|
||||||
files = [pathlib.Path(f) for f in files if pathlib.Path(f).is_file()]
|
files = [pathlib.Path(f) for f in files if pathlib.Path(f).is_file()]
|
||||||
|
|
Loading…
Reference in a new issue