mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 18:19:11 +08:00
Merge branch '3.4' of github.com:Ultimaker/Cura into 3.4
This commit is contained in:
commit
402015aa05
@ -357,11 +357,12 @@ class PrintInformation(QObject):
|
|||||||
data = mime_type.stripExtension(name)
|
data = mime_type.stripExtension(name)
|
||||||
except:
|
except:
|
||||||
Logger.log("w", "Unsupported Mime Type Database file extension")
|
Logger.log("w", "Unsupported Mime Type Database file extension")
|
||||||
|
data = 'unnamed'
|
||||||
|
|
||||||
if data is not None and check_name is not None:
|
if data is not None and check_name is not None:
|
||||||
self._base_name = data
|
self._base_name = data
|
||||||
else:
|
else:
|
||||||
self._base_name = ''
|
self._base_name = 'unnamed'
|
||||||
|
|
||||||
self._updateJobName()
|
self._updateJobName()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user