Merged in Xenosb/flatcam (pull request #15)
Fix for KeyError on spindlespeed
This commit is contained in:
commit
71aca80603
|
@ -1828,8 +1828,11 @@ class App(QtCore.QObject):
|
||||||
|
|
||||||
for param in routes:
|
for param in routes:
|
||||||
if param in routes[param].defaults:
|
if param in routes[param].defaults:
|
||||||
routes[param].defaults[param] = self.defaults[param]
|
try:
|
||||||
self.log.debug(" " + param + " OK")
|
routes[param].defaults[param] = self.defaults[param]
|
||||||
|
self.log.debug(" " + param + " OK")
|
||||||
|
except KeyError:
|
||||||
|
pass
|
||||||
else:
|
else:
|
||||||
# Try extracting the name:
|
# Try extracting the name:
|
||||||
# classname_param here is param in the object
|
# classname_param here is param in the object
|
||||||
|
|
Loading…
Reference in New Issue