diff --git a/myresources/crocodile/database.py b/myresources/crocodile/database.py index 94db9921..2f1039f6 100644 --- a/myresources/crocodile/database.py +++ b/myresources/crocodile/database.py @@ -67,7 +67,7 @@ def __getstate__(self) -> dict[str, Any]: del state["insp"] del state["eng"] if self.path: - state['path'] = self.path.collapseuser() + state['path'] = self.path.collapseuser(strict=False) return state def __setstate__(self, state: dict[str, Any]) -> None: self.__dict__.update(state)