Skip to content

Fixed the code in __main__.py to prevent TypeError#4

Open
gamefox229 wants to merge 2 commits intoBlakeJC94:mainfrom
gamefox229:main
Open

Fixed the code in __main__.py to prevent TypeError#4
gamefox229 wants to merge 2 commits intoBlakeJC94:mainfrom
gamefox229:main

Conversation

@gamefox229
Copy link

This pull request fixes a bug in __main__.py where the argfile key was being passed to Client.execute(), causing a TypeError.

Only change:

  • Popping 'argfile' from args before calling client.execute(**args) to prevent it from being passed as an unexpected keyword argument.

    This change ensures that Client.execute() only receives valid arguments and prevents runtime errors when argfile is present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant