]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/backend/fireinfo.py
fireinfo: Allow system/model to be null
[ipfire.org.git] / src / backend / fireinfo.py
index 61a80fb54c13b5a712e17bb2a797af9322995762..277ad7816b4f4cde105ef37ca475d61484f4d4e9 100644 (file)
@@ -226,7 +226,7 @@ PROFILE_SCHEMA = {
                                        "type" : "integer",
                                },
                                "model" : {
-                                       "type"    : "string",
+                                       "type"    : ["string", "null"],
                                        "pattern" : r"^.{,80}$",
                                },
                                "release" : {