Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Jan 5, 2024
1 parent 24be54e commit fa01f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_mgmt/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def _username_valid(username):
ascii_username = unidecode.unidecode(username).replace("'", '').replace(' ', '').lower()
if ascii_username != username:
return False
if not re.fullmatch('[\w\-\._]+', username):
if not re.fullmatch(r'[\w\-\._]+', username):
return False
if len(username) < 5:
return False
Expand Down

0 comments on commit fa01f60

Please sign in to comment.