This commit is contained in:
Believethehype
2024-03-18 23:49:55 +01:00
parent b5da913caf
commit 7783abaa12
10 changed files with 21 additions and 13 deletions

View File

@@ -1,4 +1,5 @@
import os
import threading
from pathlib import Path
import dotenv
@@ -37,9 +38,10 @@ def playground():
subscription_config.LNBITS_INVOICE_KEY = invoice_key
subscription_config.LNBITS_ADMIN_KEY = admin_key # The dvm might pay failed jobs back
subscription_config.LNBITS_URL = os.getenv("LNBITS_HOST")
Subscription(subscription_config)
x = threading.Thread(target=Subscription, args=(Subscription(subscription_config),))
x.start()
keep_alive()
#keep_alive()
if __name__ == '__main__':