diff --git a/frappy_psi/sea.py b/frappy_psi/sea.py index d77d84d..f68f7f4 100644 --- a/frappy_psi/sea.py +++ b/frappy_psi/sea.py @@ -74,7 +74,7 @@ SERVICE_NAMES = { SEA_DIR = expanduser('~/sea') seaconfdir = os.environ.get('FRAPPY_SEA_DIR') -if not exists(seaconfdir): +if seaconfdir is None or not exists(seaconfdir): for confdir in generalConfig.confdir.split(os.pathsep): seaconfdir = join(confdir, 'sea') if exists(seaconfdir):