Skip to content

Commit 1f66714

Browse files
committed
Fix PEP8 issue.
1 parent 0f943b5 commit 1f66714

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

web/setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,12 @@ def load_users(input_file: str,
233233
error_count = 0
234234

235235
app = create_app(config.APP_NAME + '-cli')
236-
with app.test_request_context():
236+
with (app.test_request_context()):
237237
for user_entry in users_data:
238238
try:
239239
# Validate required fields
240-
if 'username' not in user_entry and 'email' not in user_entry:
240+
if 'username' not in user_entry and\
241+
'email' not in user_entry:
241242
print(f"Skipping user: missing 'username' or 'email'")
242243
error_count += 1
243244
continue

0 commit comments

Comments
 (0)