mirror of
https://github.com/runcitadel/core.git
synced 2024-11-11 16:30:38 +00:00
Cleanup
This commit is contained in:
parent
8992e099df
commit
7391703b4d
7
scripts/configure
vendored
7
scripts/configure
vendored
|
@ -96,7 +96,7 @@ status_dir = os.path.join(CITADEL_ROOT, 'statuses')
|
|||
print("\n======================================")
|
||||
if os.path.isfile(status_dir+'/configured'):
|
||||
print("=========== RECONFIGURING ============")
|
||||
reconfiguring=True
|
||||
reconfiguring=os.path.isfile('./.env')
|
||||
else:
|
||||
print("============ CONFIGURING =============")
|
||||
reconfiguring=False
|
||||
|
@ -136,10 +136,7 @@ NGINX_SSL_PORT=os.environ.get('NGINX_SSL_PORT') or "443"
|
|||
UPDATE_CHANNEL="stable"
|
||||
|
||||
if reconfiguring:
|
||||
if os.path.isfile('../.citadel'):
|
||||
dotenv=parse_dotenv('../.env')
|
||||
else:
|
||||
dotenv=parse_dotenv('./.env')
|
||||
dotenv=parse_dotenv('./.env')
|
||||
|
||||
BITCOIN_NETWORK=os.environ.get('OVERWRITE_NETWORK') or dotenv['BITCOIN_NETWORK']
|
||||
# Check if network neither mainnet nor testnet nor regtest
|
||||
|
|
Loading…
Reference in New Issue
Block a user