1
0
Fork 0
mirror of synced 2024-06-26 10:11:19 +12:00

Update id.py

This commit is contained in:
gnanini 2021-04-27 15:45:31 -03:00 committed by GitHub
parent 3d6ff836fd
commit 7a08664730
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,15 +14,13 @@ def get_id(game_name):
text = open(file, 'r')
game_list = json.load(text)
#print(game_list[game_name.lower()])
return game_list[game_name.lower()]
def test():
#get_id('MORDHAU')
get_grade(get_id(input('Type a correct game name: ')))
return
#get_grade(get_id('MORDHAU'))
return get_grade(get_id(input('Type a correct game name: ')))
def upgrade_content(): # this function uploads the ids database, aka game_list.json