mirror of
https://github.com/correl/mtgsqlive.git
synced 2024-11-22 03:00:10 +00:00
Fix typo (#59)
This commit is contained in:
parent
53a6d6f370
commit
636f8ca64b
2 changed files with 2 additions and 2 deletions
|
@ -34,6 +34,6 @@ This system was built using *Python 3.7*, so we can only guarantee proper functi
|
|||
$ pip3 install -r requirements.txt
|
||||
|
||||
# usage: mtgsqlive [-h] -i file -o file
|
||||
$ python3 -m mtgsqlive -i /path/to/AllSets.json -o /path/to/output.sqlite
|
||||
$ python3 -m mtgsqlive -i /path/to/AllPrintings.json -o /path/to/output.sqlite
|
||||
|
||||
```
|
||||
|
|
|
@ -188,7 +188,7 @@ def generate_sql_schema(json_data: Dict,
|
|||
# https://www.mtgjson.com/files/AllPrintings.json
|
||||
# to see the json structure
|
||||
for setCode, setData in json_data.items():
|
||||
# loop through the set properties, you can view the properties in:
|
||||
# loop through the set properties
|
||||
for setKey, setValue in setData.items():
|
||||
if setKey == "translations":
|
||||
setKey = "set_translations"
|
||||
|
|
Loading…
Reference in a new issue