if sea cfg not found, take from FRAPPY_SEA_DIR
This commit is contained in:
parent
772f45a241
commit
e638661edc
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user