Merge pull request #176 from kaspar030/pr/fix_config_restore

small odrivetool restore-config fix
This commit is contained in:
Oskar Weigl
2018-06-20 15:02:42 -07:00
committed by GitHub
+1 -1
View File
@@ -71,7 +71,7 @@ def restore_config(device, filename, logger):
data = json.load(file)
logger.info("Restoring configuration from {}...".format(filename))
errors = odrive.configuration.set_dict(device, "", data)
errors = set_dict(device, "", data)
for error in errors:
logger.info(error)