From 5b21b26fd81eb1ef3cb98b12b9a7df6212946465 Mon Sep 17 00:00:00 2001 From: "McDonald, Luke K.M" Date: Wed, 7 Oct 2020 13:11:34 +0100 Subject: [PATCH] Change to absolute path --- arctic_office_projects_api/bulk_importer/import_grants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arctic_office_projects_api/bulk_importer/import_grants.py b/arctic_office_projects_api/bulk_importer/import_grants.py index da3953f..67edc98 100644 --- a/arctic_office_projects_api/bulk_importer/import_grants.py +++ b/arctic_office_projects_api/bulk_importer/import_grants.py @@ -32,6 +32,6 @@ def import_grants(file): project['grant-reference']], shell=False) -json_filename = 'json/projects-2020-08-13.json' +json_filename = '/usr/src/app/arctic_office_projects_api/bulk_importer/json/projects-2020-08-13.json' if json_valid(json_filename): import_grants(json_filename)