code style

This commit is contained in:
Jakob Ketterl 2021-01-24 22:54:58 +01:00
parent 7e60efeae2
commit 366f7247f2

View File

@ -20,6 +20,7 @@ class ModulationValidator(OrValidator):
""" """
This validator only allows alphanumeric characters and numbers, but no spaces or special characters This validator only allows alphanumeric characters and numbers, but no spaces or special characters
""" """
def __init__(self): def __init__(self):
super().__init__(BoolValidator(), RegexValidator(re.compile("^[a-z0-9]+$"))) super().__init__(BoolValidator(), RegexValidator(re.compile("^[a-z0-9]+$")))