Flake8 fix.

This commit is contained in:
Chris Church 2016-02-11 01:36:26 -05:00
parent 1f290ed940
commit a8fec62095

View File

@ -73,7 +73,7 @@ class EncryptedPasswordField(CharNullField):
def to_representation(self, value):
# Replace the actual encrypted value with the string $encrypted$.
if force_text(value).startswith('$encrypted$'):
return '$encrypted$'
return '$encrypted$'
return value