Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Oct 24, 2023
1 parent c70d468 commit 2da5888
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 @@ -29,7 +29,7 @@ def is_orcid(value):
parts = value.split('-')
if len(parts) != 4:
return False
if any(len(x) != 4 or !x.isdigit() for x in parts[:3]):
if any(len(x) != 4 or not x.isdigit() for x in parts[:3]):
return False
x = parts[3]
if len(x) != 4 or not x[:4].isdigit():
Expand Down

0 comments on commit 2da5888

Please sign in to comment.