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

cards.py and scryfall_card_gen.py broken when no agruments #43

Open
Samega7Cattac opened this issue Jun 4, 2019 · 0 comments
Open

cards.py and scryfall_card_gen.py broken when no agruments #43

Samega7Cattac opened this issue Jun 4, 2019 · 0 comments

Comments

@Samega7Cattac
Copy link

Samega7Cattac commented Jun 4, 2019

When running cards.py without arguments the usage don't appear

  • cards.py
Traceback (most recent call last):
  File "cards.py", line 52, in <module>
    cards_db[(o["set"], o["collector_number"], o["lang"])] = convert(o)
  File "cards.py", line 38, in convert
    else [cf["image_uris"] for cf in o["card_faces"]],
KeyError: 'card_faces'
  • scryfall_card_gen.py:
Traceback (most recent call last):
  File "scryfall_card_gen.py", line 9, in <module>
    version = sys.argv[1].strip("v")
IndexError: list index out of range
@Samega7Cattac Samega7Cattac changed the title cards.py and scryfall_card_gen.py broken cards.py and scryfall_card_gen.py broken when no agruments Jun 4, 2019
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

No branches or pull requests

1 participant