Fix failing test due to config init change

This commit is contained in:
Veronica Berglyd Olsen
2025-01-16 21:46:22 +01:00
parent 0380a7fe72
commit 9c04899df5
2 changed files with 1 additions and 7 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ class Config:
self._appPath = Path(__file__).parent.absolute()
self._appRoot = self._appPath.parent
if getattr(sys, "frozen", False):
if getattr(sys, "frozen", False): # pragma: no cover
# novelWriter is packaged as an exe
self._appPath = Path(__file__).parent.parent.absolute()
self._appRoot = self._appPath