From a660b01e93aca51df1d62e5d2666357b95e4f04d Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Thu, 7 Jan 2021 14:24:57 -0800 Subject: [PATCH] pygui: validation of the node name field will allow - instead of _, - is valid while _ is not --- daemon/core/gui/validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/core/gui/validation.py b/daemon/core/gui/validation.py index 22f12bb8..2360ab0b 100644 --- a/daemon/core/gui/validation.py +++ b/daemon/core/gui/validation.py @@ -107,7 +107,7 @@ class NodeNameEntry(ValidationEntry): if len(s) == 0: return True for x in s: - if not x.isalnum() and x != "_": + if not x.isalnum() and x != "-": return False return True