mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-05 06:25:19 +00:00
don't check the type since older python doesn't have re.Pattern
This commit is contained in:
parent
b2e8fc5ad5
commit
f81cf3570a
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ class NumberValidator(OrValidator):
|
|||
|
||||
|
||||
class RegexValidator(StringValidator):
|
||||
def __init__(self, regex: re.Pattern):
|
||||
def __init__(self, regex):
|
||||
self.regex = regex
|
||||
super().__init__()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue