Skip to content

Commit

Permalink
fix: resolved linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AhtishamShahid committed Sep 18, 2024
1 parent 938fdec commit abace28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/user_api/accounts/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def update_account_settings(requesting_user, update, username=None):

_validate_email_change(user, update, field_errors)
_validate_secondary_email(user, update, field_errors)
if update.get('country','') in settings.DISABLED_COUNTRIES:
if update.get('country', '') in settings.DISABLED_COUNTRIES:
field_errors['country'] = {
'developer_message': 'Country is disabled for registration',
'user_message': 'This country cannot be selected for user registration'
Expand Down

0 comments on commit abace28

Please sign in to comment.