summaryrefslogtreecommitdiff
path: root/kvmd/validators/ugpio.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/validators/ugpio.py')
-rw-r--r--kvmd/validators/ugpio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/validators/ugpio.py b/kvmd/validators/ugpio.py
index e70e2590..6f32a26f 100644
--- a/kvmd/validators/ugpio.py
+++ b/kvmd/validators/ugpio.py
@@ -42,7 +42,7 @@ def valid_ugpio_driver(arg: Any, variants: Optional[Set[str]]=None) -> str:
def valid_ugpio_channel(arg: Any) -> str:
name = "GPIO channel"
- return check_len(check_re_match(arg, name, r"^[a-zA-Z_][a-zA-Z0-9_-]*$"), name, 255)
+ return check_len(check_re_match(arg, name, r"^[a-zA-Z_][a-zA-Z0-9_.-]*$"), name, 255)
def valid_ugpio_mode(arg: Any, variants: Set[str]) -> str: