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 #196

Open
vrad-exe opened this issue Jun 25, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@vrad-exe
Copy link

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\Chaos-FGD\unify_fgd.py", line 1323, in <module>
    main(sys.argv[1:])
  File "C:\Users\Luke\Git\Chaos-FGD\unify_fgd.py", line 1218, 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

HammerAddons fixed this already

@vrad-exe vrad-exe added the bug Something isn't working label Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant