- handled a possible situation in App.load_defaults() method
- fixed some issues in FlatCAMDB that may appear in certain scenarios
This commit is contained in:
@@ -3840,7 +3840,7 @@ class App(QtCore.QObject):
|
||||
# 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.defaults[k])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user