fixed key

This commit is contained in:
sanjayk03-dev
2025-06-05 00:37:58 +05:30
parent 747230cf9b
commit e938aa24c3
3 changed files with 3 additions and 2 deletions

View File

@@ -625,7 +625,7 @@ class RotaryHandler(bbctrl.APIHandler):
motors = config_data.get("motors")
motors_backup = config_data.get("motors_backup", {})
motors_backup = config_data.get("motors-backup", {})
if not motors:
raise ValueError("Motors data not found in configuration")