Compare commits
2 Commits
e91462562e
...
9f23638959
Author | SHA1 | Date |
---|---|---|
3wc | 9f23638959 | |
3wc | 8f2becb9ee |
|
@ -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'] is not "":
|
||||
if app.config['BTCPAY_URL'] != "":
|
||||
try:
|
||||
app.config['BTCPAY_CLIENT'] = btcpay.Client(api_uri=app.config['BTCPAY_URL'], pem=app.config['BTCPAY_PRIVATE_KEY'])
|
||||
app.config['BTCPAY_ENABLED'] = True
|
||||
|
|
Loading…
Reference in New Issue