mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue