From 78c63b6dc424d6e57c286049195036d3a91c8e95 Mon Sep 17 00:00:00 2001 From: Cody Baker Date: Wed, 5 Jun 2024 11:59:01 -0400 Subject: [PATCH] update package json location --- src/pyflask/manageNeuroconv/manage_neuroconv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyflask/manageNeuroconv/manage_neuroconv.py b/src/pyflask/manageNeuroconv/manage_neuroconv.py index 607d7c338..296aea2f3 100644 --- a/src/pyflask/manageNeuroconv/manage_neuroconv.py +++ b/src/pyflask/manageNeuroconv/manage_neuroconv.py @@ -1008,7 +1008,7 @@ def update_conversion_progress(message): ).replace(tzinfo=zoneinfo.ZoneInfo(info["timezone"])) # Add GUIDE watermark - package_json_file_path = resource_path("package.json" if is_packaged() else "../../package.json") + package_json_file_path = resource_path("../package.json" if is_packaged() else "../package.json") with open(file=package_json_file_path) as fp: package_json = json.load(fp=fp) app_version = package_json["version"]