Skip to content

Commit

Permalink
updates key to get card version when user loaded card.json only #258
Browse files Browse the repository at this point in the history
  • Loading branch information
raphenya committed Jan 5, 2024
1 parent 249106f commit 929eb97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/MainBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def database_run(self, args):
)
)
else:
data_version = json_data["card_canonical"]["data_version"]
data_version = json_data["card_json"]["data_version"]
else:
print('\nError: no databases found in data path: {}. \nSee `rgi load --help`\n'.format(os.path.abspath(db)))
exit()
Expand Down

0 comments on commit 929eb97

Please sign in to comment.