Skip to content

Commit e5ed9c0

Browse files
committed
Fix wrong variable name
1 parent e77915c commit e5ed9c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

magicbot/magicrobot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ def _create_components(self):
500500

501501
# Call setup functions for autonomous modes
502502
for mode in self._automodes.modes.values():
503-
if hasattr(component, 'setup'):
503+
if hasattr(mode, 'setup'):
504504
mode.setup()
505505

506506

0 commit comments

Comments
 (0)