Skip to content

Commit

Permalink
Fix loading a config from file
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondJoseph committed Jul 11, 2023
1 parent 8fe1485 commit 96b960e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tickit/utils/configuration/loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ def deserialize(d):
fullname, args = list(d.items())[0]
pkg, clsname = fullname.rsplit(".", maxsplit=1)
cls = getattr(import_module(pkg), clsname)
return parse_obj_as(cls, d)
return parse_obj_as(cls, args)

0 comments on commit 96b960e

Please sign in to comment.