From ad541a3756e7438e4178637d43ee9692626a01df Mon Sep 17 00:00:00 2001 From: oxygenkun <24502572+ddtyjmyjm@users.noreply.github.com> Date: Sat, 26 Dec 2020 15:07:30 +0800 Subject: [PATCH] fix: failed load config.ini in function `moveFailedFolder` --- core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.py b/core.py index 13a6673..82562d5 100755 --- a/core.py +++ b/core.py @@ -34,7 +34,7 @@ def moveFailedFolder(filepath, failed_folder): root_path = str(pathlib.Path(filepath).parent) file_name = pathlib.Path(filepath).name destination_path = root_path + '/' + failed_folder + '/' - if config.Config.soft_link(): + if config.Config().soft_link(): print('[-]Create symlink to Failed output folder') os.symlink(filepath, destination_path + '/' + file_name) else: