Move user.json to proper location and update path in 10-14 verify user
This commit is contained in:
parent
3a611b2218
commit
32f987b73f
@ -38,7 +38,7 @@ def verify_user(information):
|
|||||||
|
|
||||||
def greet_user():
|
def greet_user():
|
||||||
"""Greet the user by name."""
|
"""Greet the user by name."""
|
||||||
path = Path('user_info.json')
|
path = Path('../Chapter_10/user_info.json')
|
||||||
information = get_stored_info(path)
|
information = get_stored_info(path)
|
||||||
if information:
|
if information:
|
||||||
confirmed = verify_user(information)
|
confirmed = verify_user(information)
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
{"username": "Ken", "location": "PA", "age": "66"}
|
{"username": "Gerry", "location": "WY", "age": "82"}
|
||||||
Loading…
x
Reference in New Issue
Block a user