Skip to content

Commit

Permalink
this feels cleaner than adding args mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
webcoderz committed Jun 30, 2023
1 parent 220761b commit 012832d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
)

# parse and validate arguments
args = generator.parse_args()
args=vars(args)
args = vars(generator.parse_args())


if args["command"] == "validate":
generator: Generator = Generator(**args)
Expand Down

0 comments on commit 012832d

Please sign in to comment.