mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Fix up an issue update/assigning config keys
If they already existed or in the case of posting a license it would fail before. This fixes that up
This commit is contained in:
parent
0426a463ea
commit
dd95b9ed3d
@ -45,7 +45,8 @@ class TowerConfiguration(object):
|
||||
value=value,
|
||||
value_type=settings_entry['type'])
|
||||
else:
|
||||
settings_actual['value'] = value
|
||||
settings_actual = settings_actual[0]
|
||||
settings_actual.value = value
|
||||
settings_actual.save()
|
||||
|
||||
tower_settings = TowerConfiguration()
|
||||
|
Loading…
Reference in New Issue
Block a user