Skip to content

Commit 9a93c33

Browse files
Revert "Fix output file path in Application class to use the correct directory directly from self.save_file, improving file handling for batch processing."
This reverts commit a534aa3.
1 parent 17c1f4d commit 9a93c33

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spatialmedia/gui.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,8 @@ def action_inject_delay(self):
151151
extension = split_filename[1]
152152

153153
# Create output filename for each file
154-
# Fix: Use self.save_file directly as it's already the correct directory path
155154
output_file = os.path.join(
156-
#os.path.dirname(self.save_file), # Remove os.path.dirname() call to fix directory path issue
157-
self.save_file, # Remove os.path.dirname() call
155+
os.path.dirname(self.save_file),
158156
f"{base_filename}_injected{extension}"
159157
)
160158

0 commit comments

Comments
 (0)