Merge branch 'master' of giit.cyberia.club:~forest/capsul-flask
This commit is contained in:
commit
cf9d9605b3
@ -68,7 +68,12 @@ stripe.api_key = app.config['STRIPE_SECRET_KEY']
|
||||
stripe.api_version = app.config['STRIPE_API_VERSION']
|
||||
|
||||
app.config['FLASK_MAIL_INSTANCE'] = Mail(app)
|
||||
|
||||
if app.config['VIRTUALIZATION_MODEL'] == "shell_scripts":
|
||||
app.config['VIRTUALIZATION_MODEL'] = virt_model.ShellScriptVirtualization()
|
||||
else:
|
||||
app.config['VIRTUALIZATION_MODEL'] = virt_model.MockVirtualization()
|
||||
|
||||
app.config['BTCPAY_CLIENT'] = btcpay.Client(api_uri=app.config['BTCPAY_URL'], pem=app.config['BTCPAY_PRIVATE_KEY'])
|
||||
|
||||
from capsulflask import db
|
||||
|
Loading…
Reference in New Issue
Block a user