From 6b78ac120fab58867172465f231eebf315a5391f Mon Sep 17 00:00:00 2001 From: TPD94 Date: Wed, 30 Apr 2025 22:16:38 -0400 Subject: [PATCH] Update user_info.py --- routes/user_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/user_info.py b/routes/user_info.py index e32611f..8af24b4 100644 --- a/routes/user_info.py +++ b/routes/user_info.py @@ -13,7 +13,7 @@ def user_info(): return jsonify({'message': 'False'}), 400 try: - base_path = os.path.join(os.getcwd(), 'configs', 'CDMs', username) + base_path = os.path.join(os.getcwd(), 'configs', 'CDMs', username.lower()) pr_files = [os.path.basename(f) for f in glob.glob(os.path.join(base_path, 'PR', '*.prd'))] wv_files = [os.path.basename(f) for f in glob.glob(os.path.join(base_path, 'WV', '*.wvd'))]