Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify FGD script duplicates "i" parameter for both import and export #183

Closed
vrad-exe opened this issue Nov 21, 2022 · 0 comments
Closed
Labels
bug done Fixed/implemented for next release

Comments

@vrad-exe
Copy link
Collaborator

The unify FGD script specifies i as an alias for both import and export, which appears to now cause an error on Python 3.11 or otherwise after some update.

Traceback (most recent call last):
  File "C:\Users\Luke\Git\hammeraddons\src\hammeraddons\unify_fgd.py", line 1323, in <module>
    main(sys.argv[1:])
  File "C:\Users\Luke\Git\hammeraddons\src\hammeraddons\unify_fgd.py", line 1239, in main
    parser_imp = subparsers.add_parser(
                 ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Luke\AppData\Local\Programs\Python\Python311\Lib\argparse.py", line 1188, in add_parser
    raise ArgumentError(
argparse.ArgumentError: argument mode: conflicting subparser alias: i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug done Fixed/implemented for next release
Projects
None yet
Development

No branches or pull requests

2 participants