Browse Source

Merge pull request #42 from b4zz4/patch-1

Update __init__.py
tin2tin-patch-1
tin2tin 1 year ago committed by GitHub
parent
commit
6294ff045f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      __init__.py

2
__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

Loading…
Cancel
Save