mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Importing invalid filetypes now gives proper error messages
CURA-2883
This commit is contained in:
parent
1b01455c36
commit
ac708d54b6
3 changed files with 5 additions and 1 deletions
|
@ -99,4 +99,6 @@ class CuraProfileReader(ProfileReader):
|
|||
return []
|
||||
|
||||
filenames, outputs = profile_convert_funcs[0](serialized, profile_id)
|
||||
if filenames is None and outputs is None:
|
||||
return []
|
||||
return list(zip(outputs, filenames))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue