diff --git a/validations.py b/validations.py index e26ae64..7989337 100644 --- a/validations.py +++ b/validations.py @@ -2,11 +2,11 @@ def vailidate_user(username, minlen): - """Checks if the recieved username matches the required conditions.""" + """Checks if the received username matches the required conditions.""" if type(username) != str: raise TypeError("username must be a string") if minlen < 1: - raise ValueError("minlen must be at least 1".) + raise ValueError("minlen must be at least 1") if len(username) < minlen: return False