Repair saving to removable drive

Typo. Sorry.

Contributes to issue CURA-611.
This commit is contained in:
Ghostkeeper 2016-02-10 15:05:36 +01:00
parent 041fa2b359
commit 6bcce7ca8e

View file

@ -37,7 +37,7 @@ class RemovableDriveOutputDevice(OutputDevice):
Logger.log("e", "There are no file formats available to write with!")
raise OutputDeviceError.WriteRequestFailedError()
writer = Application.getInstance().getMeshFileHandler().getWriterByMimeType(file_formats[0]["mime_type"]) #Just take the first file format available.
extension = file_format[0]["extension"]
extension = file_formats[0]["extension"]
if file_name == None:
for n in BreadthFirstIterator(node):