From a99837213f08e4ee623f25166c1f165cb98a6c72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= Date: Wed, 29 Jun 2016 15:18:45 -0500 Subject: [PATCH] rrs/tools/common.py: common_setup() Add layerindex to the path. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add explicity layerindex folder to the path for avoid errors in imports. Signed-off-by: Aníbal Limón --- rrs/tools/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rrs/tools/common.py b/rrs/tools/common.py index 69a0d01..490d677 100644 --- a/rrs/tools/common.py +++ b/rrs/tools/common.py @@ -10,6 +10,7 @@ import logging def common_setup(): import sys, os sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), '../../'))) + sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), '../../layerindex'))) def get_logger(name, settings): import os