diff --git a/general_function.py b/general_function.py index b1f697e..bd7f0d9 100644 --- a/general_function.py +++ b/general_function.py @@ -18,7 +18,7 @@ def delete_csv_in_path(path): for file in files: if file.endswith('.csv'): path = os.path.join(folder, file) - os.remove(path) + os.unlink(path) print("[Delete Temp Complete]", path)