Merge remote-tracking branch 'upstream/master' into ben_dev
# Conflicts: # core.py
This commit is contained in:
1
core.py
1
core.py
@@ -30,6 +30,7 @@ def escape_path(path, escape_literals: str): # Remove escape literals
|
|||||||
|
|
||||||
|
|
||||||
def moveFailedFolder(filepath, failed_folder):
|
def moveFailedFolder(filepath, failed_folder):
|
||||||
|
if config.Config().failed_move():
|
||||||
root_path = str(pathlib.Path(filepath).parent)
|
root_path = str(pathlib.Path(filepath).parent)
|
||||||
file_name = pathlib.Path(filepath).name
|
file_name = pathlib.Path(filepath).name
|
||||||
destination_path = root_path + '/' + failed_folder + '/'
|
destination_path = root_path + '/' + failed_folder + '/'
|
||||||
|
|||||||
Reference in New Issue
Block a user