fixes for specific paths
This commit is contained in:
5
nodes.py
5
nodes.py
@@ -802,8 +802,9 @@ class SaveImage:
|
||||
digits = 0
|
||||
return (digits, prefix)
|
||||
|
||||
subfolder = os.path.dirname(filename_prefix)
|
||||
filename = os.path.basename(filename_prefix)
|
||||
subfolder = os.path.dirname(os.path.normpath(filename_prefix))
|
||||
filename = os.path.basename(os.path.normpath(filename_prefix))
|
||||
|
||||
full_output_folder = os.path.join(self.output_dir, subfolder)
|
||||
|
||||
if os.path.commonpath((self.output_dir, os.path.realpath(full_output_folder))) != self.output_dir:
|
||||
|
||||
Reference in New Issue
Block a user