mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-01-08 17:50:11 +01:00
code style
This commit is contained in:
parent
7e60efeae2
commit
366f7247f2
|
|
@ -20,6 +20,7 @@ class ModulationValidator(OrValidator):
|
|||
"""
|
||||
This validator only allows alphanumeric characters and numbers, but no spaces or special characters
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(BoolValidator(), RegexValidator(re.compile("^[a-z0-9]+$")))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue