Skip to content

Commit

Permalink
fixes lint
Browse files Browse the repository at this point in the history
  • Loading branch information
annapurna-gupta committed Feb 21, 2025
1 parent 8734299 commit 13ec878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mslib/mscolab/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def check_login(emailid, password):


def process_fullname(fullname):
fullname = " ".join(fullname.split()) # Removes extra spaces from fullname
fullname = " ".join(fullname.split()) # Removes extra spaces from fullname
result_with_regex = slugify(fullname, regex_pattern=r"[^a-zA-Z\s\-]")
if fullname.lower() == result_with_regex:
return {"success": True, "processed_name": fullname}
Expand Down

0 comments on commit 13ec878

Please sign in to comment.