Apply defaults loading fix
This commit is contained in:
parent
e4f3912f4f
commit
89c384766a
|
@ -748,7 +748,7 @@ class FlatCAMDefaults:
|
|||
# may be stored as strings we check their types.
|
||||
try:
|
||||
target = eval(self.defaults[k])
|
||||
except NameError:
|
||||
except (NameError, TypeError):
|
||||
# it's an unknown string leave it as it is
|
||||
target = deepcopy(self.factory_defaults[k])
|
||||
|
||||
|
|
Loading…
Reference in New Issue