From 1d55befbe2278b2f0263057ef260bb641b57797c Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Thu, 30 Jul 2020 13:23:46 +0200 Subject: [PATCH] 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 --- .../RemovableDriveOutputDevice/RemovableDriveOutputDevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/RemovableDriveOutputDevice/RemovableDriveOutputDevice.py b/plugins/RemovableDriveOutputDevice/RemovableDriveOutputDevice.py index 46f38500ee..2654914767 100644 --- a/plugins/RemovableDriveOutputDevice/RemovableDriveOutputDevice.py +++ b/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)