fix: if process failed, though soft_link mode is on, it will still move the file to the failed folder.

This commit is contained in:
benjamin
2020-12-22 00:45:41 +08:00
parent 8b6c40375c
commit 7183041cbe
2 changed files with 31 additions and 24 deletions

View File

@@ -149,7 +149,7 @@ if __name__ == '__main__':
sys.exit(0)
# ========== Single File ==========
movie_list = movie_lists(".", re.split("[,]", conf.escape_folder()))
movie_list = movie_lists(os.getcwd(), re.split("[,]", conf.escape_folder()))
count = 0
count_all = str(len(movie_list))