mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 05:39:37 +08:00
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
This commit is contained in:
parent
f9c6bbb092
commit
1d55befbe2
@ -79,7 +79,7 @@ class RemovableDriveOutputDevice(OutputDevice):
|
|||||||
|
|
||||||
if extension: # Not empty string.
|
if extension: # Not empty string.
|
||||||
extension = "." + extension
|
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:
|
try:
|
||||||
Logger.log("d", "Writing to %s", file_name)
|
Logger.log("d", "Writing to %s", file_name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user