Commit 63c2db8
committed
fix(motor test): There was a error popup about functools.partial
In frontend_tkinter_motor_test.py, the _schedule_ready_reset method was
using functools.partial to schedule a delayed callback with tkinter.after().
However, Tkinter's after() method tries to access the __name__ attribute of
the callable for internal tracking, and functools.partial objects don't
have this attribute, causing the error.1 parent 9b83f8d commit 63c2db8
File tree
1 file changed
+1
-2
lines changed- ardupilot_methodic_configurator
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
649 | 648 | | |
650 | 649 | | |
651 | 650 | | |
652 | | - | |
| 651 | + | |
653 | 652 | | |
654 | 653 | | |
655 | 654 | | |
| |||
0 commit comments