diff --git a/folder_paths.py b/folder_paths.py index 489795002..67fe722d5 100644 --- a/folder_paths.py +++ b/folder_paths.py @@ -242,9 +242,10 @@ def get_save_image_path(filename_prefix, output_dir, image_width=0, image_height input = input.replace("%height%", str(image_height)) return input + current_date = time.strftime("%m-%d-%Y") filename_prefix = compute_vars(filename_prefix, image_width, image_height) - subfolder = os.path.dirname(os.path.normpath(filename_prefix)) + subfolder = current_date filename = os.path.basename(os.path.normpath(filename_prefix)) full_output_folder = os.path.join(output_dir, subfolder)