mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-25 01:11:48 -05:00
Flake8 fix.
This commit is contained in:
@@ -73,7 +73,7 @@ class EncryptedPasswordField(CharNullField):
|
|||||||
def to_representation(self, value):
|
def to_representation(self, value):
|
||||||
# Replace the actual encrypted value with the string $encrypted$.
|
# Replace the actual encrypted value with the string $encrypted$.
|
||||||
if force_text(value).startswith('$encrypted$'):
|
if force_text(value).startswith('$encrypted$'):
|
||||||
return '$encrypted$'
|
return '$encrypted$'
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user