support dotenv impls that break on multiline strings
This commit is contained in:
parent
5edc526c79
commit
3bd9d24a97
@ -33,7 +33,7 @@ app.config.from_mapping(
|
||||
STRIPE_PUBLISHABLE_KEY=os.environ.get("STRIPE_PUBLISHABLE_KEY", default=""),
|
||||
#STRIPE_WEBHOOK_SECRET=os.environ.get("STRIPE_WEBHOOK_SECRET", default="")
|
||||
|
||||
BTCPAY_PRIVATE_KEY=os.environ.get("BTCPAY_PRIVATE_KEY", default=""),
|
||||
BTCPAY_PRIVATE_KEY=os.environ.get("BTCPAY_PRIVATE_KEY", default="").replace("\\n", "\n"),
|
||||
BTCPAY_URL=os.environ.get("BTCPAY_URL", default="https://btcpay.cyberia.club")
|
||||
)
|
||||
|
||||
|
@ -241,5 +241,7 @@ def notify_users_about_account_balance():
|
||||
current_app.config["VIRTUALIZATION_MODEL"].destroy(email=account["email"], id=vm['id'])
|
||||
get_model().delete_vm(email=account["email"], id=vm['id'])
|
||||
|
||||
|
||||
def ensure_vms_and_db_are_synced():
|
||||
print("a")
|
||||
db_ids = get_model().all_vm_ids()
|
||||
#virt_ids = current_app.config["VIRTUALIZATION_MODEL"].
|
Loading…
Reference in New Issue
Block a user