Skip to content

Commit

Permalink
gui: fix serialising strategies
Browse files Browse the repository at this point in the history
  • Loading branch information
layday committed May 23, 2024
1 parent e55849a commit 89b598d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions instawow-gui/src/instawow_gui/json_rpc_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class _LockOperation(tuple[object, str], enum.Enum):
_converter.register_structure_hook(datetime, lambda v, _: datetime_fromisoformat(v))
_converter.register_structure_hook(Strategies, lambda v, _: Strategies(v))
_converter.register_unstructure_hook(Path, str)
_converter.register_unstructure_hook(Strategies, Strategies)


class _ConfigError(ServerError):
Expand Down

0 comments on commit 89b598d

Please sign in to comment.