From cf2f1b4b8aea29749c9868bb2cc4ed8a21455931 Mon Sep 17 00:00:00 2001 From: Ryan Miller Date: Thu, 22 Aug 2024 14:21:12 +1000 Subject: [PATCH] fix: add json import to generateLocalizedStringsAnalysis.py --- tools/localization/generateLocalizedStringsAnalysis.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/localization/generateLocalizedStringsAnalysis.py b/tools/localization/generateLocalizedStringsAnalysis.py index 090aba42b..d7fa0d009 100755 --- a/tools/localization/generateLocalizedStringsAnalysis.py +++ b/tools/localization/generateLocalizedStringsAnalysis.py @@ -5,6 +5,7 @@ import csv import re import glob import argparse +import json # This allows for importing from the localization and util directories NOTE: Auto importing tools will also prepend the import paths with "tools." this will not work and needs to be removed from import paths sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))