Skip to content

Commit

Permalink
fixed getstate
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Al-Saffar committed Nov 5, 2023
1 parent 5379aef commit e9a0091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myresources/crocodile/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e9a0091

Please sign in to comment.