Skip to content

Commit

Permalink
Merge pull request #3 from devanshusanghani/multiple-file-feature-branch
Browse files Browse the repository at this point in the history
Fix output file path
  • Loading branch information
devanshusanghani authored Dec 5, 2024
2 parents b185a8f + a534aa3 commit 37fba87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spatialmedia/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,10 @@ def action_inject_delay(self):
extension = split_filename[1]

# Create output filename for each file
# Fix: Use self.save_file directly as it's already the correct directory path
output_file = os.path.join(
os.path.dirname(self.save_file),
#os.path.dirname(self.save_file), # Remove os.path.dirname() call to fix directory path issue
self.save_file, # Remove os.path.dirname() call
f"{base_filename}_injected{extension}"
)

Expand Down

0 comments on commit 37fba87

Please sign in to comment.