Skip to content

Commit 602d60f

Browse files
committed
Flake8
1 parent 896aabf commit 602d60f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

user/management/commands/createadmin.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ def handle(self, *args, **options):
128128
# Non-interactive mode.
129129
# Use password from environment variable, if provided.
130130
if (
131-
PASSWORD_FIELD in user_data
132-
and "DJANGO_SUPERUSER_PASSWORD" in os.environ
131+
PASSWORD_FIELD in user_data and "DJANGO_SUPERUSER_PASSWORD" in os.environ
133132
):
134133
user_data[PASSWORD_FIELD] = os.environ["DJANGO_SUPERUSER_PASSWORD"]
135134
# Use username from environment variable, if not provided in

0 commit comments

Comments
 (0)