From e638661edc2a17230cc7959589b0910dcdfa2b4e Mon Sep 17 00:00:00 2001 From: SANS Date: Thu, 29 Apr 2021 10:55:17 +0200 Subject: [PATCH] if sea cfg not found, take from FRAPPY_SEA_DIR --- secop_psi/sea.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/secop_psi/sea.py b/secop_psi/sea.py index 25bb43d..b961c3c 100644 --- a/secop_psi/sea.py +++ b/secop_psi/sea.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- # ***************************************************************************** # This program is free software; you can redistribute it and/or modify it under @@ -79,7 +78,7 @@ for confdir in getGeneralConfig()['confdir'].split(os.pathsep): if exists(seaconfdir): break else: - seaconfdir = None + seaconfdir = os.environ.get('FRAPPY_SEA_DIR') def get_sea_port(instance):