From f1bc688be4b4d75478166d152c2610bf1a7f43b5 Mon Sep 17 00:00:00 2001 From: Bazza Date: Sat, 2 Sep 2023 01:13:45 -0300 Subject: [PATCH] Update __init__.py Problem with linux path --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index 50d723a..87e20c2 100644 --- a/__init__.py +++ b/__init__.py @@ -236,7 +236,7 @@ def solve_path(full_path): addon_prefs = preferences.addons[__name__].preferences name, ext = os.path.splitext(full_path) dir_path, filename = os.path.split(name) - dir_path = addon_prefs.generator_ai+"\\"+str(date.today()) + dir_path = addon_prefs.generator_ai+"/"+str(date.today()) create_folder(dir_path) cleaned_filename = clean_filename(filename) new_filename = cleaned_filename + ext