Skip to content

Commit

Permalink
Fix message
Browse files Browse the repository at this point in the history
  • Loading branch information
shampletov-no committed Feb 2, 2024
1 parent ac1330e commit 600ee5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/util/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def check_device_name(val, par_name="Device name"):
match = device_name_pattern.match(val)
if not match:
raise ValueError('The "{}" field cannot be longer than 40 symbols'
" and must contain at least 1 symbol.".format(par_name))
" and must contain at least 3 symbols.".format(par_name))
return val


Expand Down

0 comments on commit 600ee5c

Please sign in to comment.