Update writing stats dialog to work with new log file

This commit is contained in:
Veronica Berglyd Olsen
2023-06-13 17:29:15 +02:00
parent eba6783816
commit 1b85f782a6
3 changed files with 54 additions and 59 deletions
+1 -2
View File
@@ -104,8 +104,7 @@ def checkBool(value: Any, default: bool) -> bool:
def checkHandle(value, default, allowNone=False):
"""Check if a value is a handle.
"""
"""Check if a value is a handle."""
if allowNone and (value is None or value == "None"):
return None
if isHandle(value):