From 32f987b73f8ebd202692e30db34cfb3733edde38 Mon Sep 17 00:00:00 2001 From: cheeks <134818917+leftovertoast@users.noreply.github.com> Date: Mon, 10 Mar 2025 00:20:59 +0000 Subject: [PATCH] Move user.json to proper location and update path in 10-14 verify user --- Chapter_10/10-14_verify_user.py | 2 +- Chapter_10/user_info.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Chapter_10/10-14_verify_user.py b/Chapter_10/10-14_verify_user.py index 84b06eb..3b07d5d 100644 --- a/Chapter_10/10-14_verify_user.py +++ b/Chapter_10/10-14_verify_user.py @@ -38,7 +38,7 @@ def verify_user(information): def greet_user(): """Greet the user by name.""" - path = Path('user_info.json') + path = Path('../Chapter_10/user_info.json') information = get_stored_info(path) if information: confirmed = verify_user(information) diff --git a/Chapter_10/user_info.json b/Chapter_10/user_info.json index d6fdd14..41b7ea0 100644 --- a/Chapter_10/user_info.json +++ b/Chapter_10/user_info.json @@ -1 +1 @@ -{"username": "Ken", "location": "PA", "age": "66"} \ No newline at end of file +{"username": "Gerry", "location": "WY", "age": "82"} \ No newline at end of file