Don't break recent projects file compatibility

This commit is contained in:
Veronica Berglyd Olsen
2025-01-30 23:59:02 +01:00
parent dcc25dac31
commit 247702babe
2 changed files with 14 additions and 15 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ def checkBool(value: Any, default: bool) -> bool:
return default
def checkUuid(value: Any, default: str = "") -> str:
def checkUuid(value: Any, default: str) -> str:
"""Try to process a value as an UUID, or return a default."""
try:
return str(uuid.UUID(value))