removed db reference

This commit is contained in:
Ben Arc
2021-07-03 15:50:40 +01:00
parent ad618c1a7b
commit 819fc43328
2 changed files with 0 additions and 5 deletions

View File

@@ -1,7 +1,4 @@
from quart import Blueprint
from lnbits.db import Database
db = Database("ext_ngrok")
ngrok_ext: Blueprint = Blueprint(
"ngrok", __name__, template_folder="templates"

View File

@@ -5,7 +5,6 @@ from lnbits.decorators import check_user_exists, validate_uuids
from pyngrok import conf, ngrok
from . import ngrok_ext
def log_event_callback(log):
string = str(log)
string2 = string[string.find('url="https') : string.find('url="https') + 40]
@@ -15,7 +14,6 @@ def log_event_callback(log):
global string5
string5 = string4.replace('"', "")
conf.get_default().log_event_callback = log_event_callback
ngrok_tunnel = ngrok.connect(5000)