Skip to content
Snippets Groups Projects
Commit b44fb57c authored by Mr. Dmitry Makovey's avatar Mr. Dmitry Makovey
Browse files

add verbosity to update

parent ed43df88
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,7 @@ def set_value(ml, setting, value): ...@@ -19,6 +19,7 @@ def set_value(ml, setting, value):
def update_settings(ml, updated_settings): def update_settings(ml, updated_settings):
print json.dumps(updated_settings, indent=2)
for setting in updated_settings: for setting in updated_settings:
ml.settings[setting] = updated_settings[setting] ml.settings[setting] = updated_settings[setting]
ml.save() ml.save()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment