bleskomat with import error in views_api

This commit is contained in:
Tiago vasconcelos
2021-10-26 22:50:29 +01:00
parent 4653e81695
commit 92ba2db276
8 changed files with 136 additions and 136 deletions
+10 -4
View File
@@ -1,12 +1,18 @@
from quart import Blueprint
from fastapi import APIRouter
from lnbits.db import Database
from lnbits.helpers import template_renderer
db = Database("ext_bleskomat")
bleskomat_ext: Blueprint = Blueprint(
"bleskomat", __name__, static_folder="static", template_folder="templates"
bleskomat_ext: APIRouter = APIRouter(
prefix="/bleskomat",
tags=["Bleskomat"]
)
def bleskomat_renderer():
return template_renderer(["lnbits/extensions/events/templates"])
from .lnurl_api import * # noqa
from .views_api import * # noqa
from .views import * # noqa
from .views_api import * # noqa