mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 05:17:36 -02:30
convert py2 -> py3
This commit is contained in:
@@ -82,7 +82,7 @@ class NotificationTemplate(CommonModelNameNotUnique):
|
||||
setattr(self, '_saved_{}_{}'.format("config", field), value)
|
||||
self.notification_configuration[field] = ''
|
||||
else:
|
||||
encrypted = encrypt_field(self, 'notification_configuration', subfield=field, skip_utf8=True)
|
||||
encrypted = encrypt_field(self, 'notification_configuration', subfield=field)
|
||||
self.notification_configuration[field] = encrypted
|
||||
if 'notification_configuration' not in update_fields:
|
||||
update_fields.append('notification_configuration')
|
||||
|
||||
Reference in New Issue
Block a user