We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f943b5 commit 1f66714Copy full SHA for 1f66714
web/setup.py
@@ -233,11 +233,12 @@ def load_users(input_file: str,
233
error_count = 0
234
235
app = create_app(config.APP_NAME + '-cli')
236
- with app.test_request_context():
+ with (app.test_request_context()):
237
for user_entry in users_data:
238
try:
239
# Validate required fields
240
- if 'username' not in user_entry and 'email' not in user_entry:
+ if 'username' not in user_entry and\
241
+ 'email' not in user_entry:
242
print(f"Skipping user: missing 'username' or 'email'")
243
error_count += 1
244
continue
0 commit comments