From bdbe3603059b84bb2a91646ebcad003477bb9590 Mon Sep 17 00:00:00 2001 From: E Rasche Date: Thu, 10 Aug 2017 13:44:10 +0200 Subject: [PATCH] fix pardir --- scripts/grt/export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/grt/export.py b/scripts/grt/export.py index 53cace28415..4b5ef603a3e 100644 --- a/scripts/grt/export.py +++ b/scripts/grt/export.py @@ -16,7 +16,7 @@ import logging from collections import defaultdict -sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, 'lib'))) +sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, 'lib'))) from galaxy.util.properties import load_app_properties import galaxy @@ -32,7 +32,7 @@ def _init(config, need_app=False): if config.startswith('/'): config_file = os.path.abspath(config) else: - config_file = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, config)) + config_file = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, config)) properties = load_app_properties(ini_file=config_file) config = galaxy.config.Configuration(**properties)