From: Michael Tremer Date: Fri, 19 Jan 2024 16:48:55 +0000 (+0000) Subject: fireinfo: Accept empty vendors, too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7835ec341a36f3442af75862aac699cc4d117f4;p=ipfire.org.git fireinfo: Accept empty vendors, too Signed-off-by: Michael Tremer --- diff --git a/src/backend/fireinfo.py b/src/backend/fireinfo.py index bcada1ef..bfbc673a 100644 --- a/src/backend/fireinfo.py +++ b/src/backend/fireinfo.py @@ -175,7 +175,7 @@ PROFILE_SCHEMA = { "pattern" : r"^[a-z]{3}$", }, "vendor" : { - "type" : "string", + "type" : ["string", "null"], "pattern" : r"^[a-z0-9]{4}$", }, },