Skip to content

Commit

Permalink
teach-in.py print for multispindle default spindle
Browse files Browse the repository at this point in the history
was: failing to print as s.spindle_enabled no longer valid
is:  prints 'enabled' for the default (0) spindle only
  • Loading branch information
dngarrett committed Apr 22, 2020
1 parent 5c7396f commit f3c6832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emc/usr_intf/axis/scripts/teach-in.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def log():
else:
p = get_joint()
label1.configure(text='Learned: %s' % p)
print linenumber, p, s.flood, s.mist, s.lube, s.spindle_enabled;
print linenumber, p, s.flood, s.mist, s.lube, s.spindle[0]['enabled'];
linenumber += 1;

def show():
Expand Down

0 comments on commit f3c6832

Please sign in to comment.