Fix a few minor typing issues

This commit is contained in:
Veronica Berglyd Olsen
2022-10-20 12:14:09 +02:00
parent 58f8f98c6f
commit 85e48eb56a
3 changed files with 10 additions and 4 deletions
+2 -2
View File
@@ -199,8 +199,8 @@ def exceptionHandler(exType, exValue, exTrace):
try:
# Try a controlled shutdown
nwGUI.closeProject(isYes=True)
nwGUI.closeMain()
nwGUI.closeProject(isYes=True) # type: ignore
nwGUI.closeMain() # type: ignore
logger.info("Emergency shutdown successful")
except Exception as exc: