From 2a2d1738a3f8a1ee2b75c10cbe967f0ff6e267b2 Mon Sep 17 00:00:00 2001 From: Al Date: Tue, 29 Mar 2016 11:15:24 -0400 Subject: [PATCH] [fix] path for running numex.py --- scripts/geodata/i18n/numex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/geodata/i18n/numex.py b/scripts/geodata/i18n/numex.py index 5cdc6f4f..32feb280 100644 --- a/scripts/geodata/i18n/numex.py +++ b/scripts/geodata/i18n/numex.py @@ -4,7 +4,7 @@ import sys import ujson as json this_dir = os.path.realpath(os.path.dirname(__file__)) -sys.path.append(os.path.realpath(os.path.join(os.pardir, os.pardir))) +sys.path.append(os.path.realpath(os.path.join(this_dir, os.pardir, os.pardir))) from geodata.encoding import safe_encode from unicode_paths import DATA_DIR