From 84ec530785be41ee791e910bf1b26c1f3dd1b85c Mon Sep 17 00:00:00 2001 From: greencloudysky <> Date: Tue, 23 Jan 2024 16:56:03 +1100 Subject: [PATCH] Update root_path after moving script into the scripts folder --- scripts/import_new_schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/import_new_schema.py b/scripts/import_new_schema.py index 4d7fe21..d07db6d 100644 --- a/scripts/import_new_schema.py +++ b/scripts/import_new_schema.py @@ -24,7 +24,7 @@ OWNERSHIP_PERCENT = 'ownership_percent' # path to the repo -root_path = os.path.dirname(os.path.realpath(__file__)) +root_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) brands_path = os.path.join(root_path, 'data/brands/') companies_path = os.path.join(root_path, 'data/companies/')