Browse Source

Fix missing part of filename w. dots for removable dr.

Project names are no longer stored with their extension internally, so the removal of an extra extension wasn't necesary. Fixes #8123
Remco Burema 4 years ago
parent
commit
1d55befbe2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/RemovableDriveOutputDevice/RemovableDriveOutputDevice.py

+ 1 - 1
plugins/RemovableDriveOutputDevice/RemovableDriveOutputDevice.py

@@ -79,7 +79,7 @@ class RemovableDriveOutputDevice(OutputDevice):
 
         if extension:  # Not empty string.
             extension = "." + extension
-        file_name = os.path.join(self.getId(), os.path.splitext(file_name)[0] + extension)
+        file_name = os.path.join(self.getId(), file_name + extension)
 
         try:
             Logger.log("d", "Writing to %s", file_name)