Compare commits

..

1 Commits

Author SHA1 Message Date
3wc e91462562e Add VMs to the database even with HUB_MODE=mock
Closes ~cyberia/services#83
2021-07-21 22:06:30 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ else:
app.config['HTTP_CLIENT'] = MyHTTPClient(timeout_seconds=int(app.config['INTERNAL_HTTP_TIMEOUT_SECONDS']))
app.config['BTCPAY_ENABLED'] = False
if app.config['BTCPAY_URL'] != "":
if app.config['BTCPAY_URL'] is not "":
try:
app.config['BTCPAY_CLIENT'] = btcpay.Client(api_uri=app.config['BTCPAY_URL'], pem=app.config['BTCPAY_PRIVATE_KEY'])
app.config['BTCPAY_ENABLED'] = True