This commit is contained in:
Tiago vasconcelos 2021-10-28 17:01:49 +01:00
parent ff1e8aff10
commit f15b6b128b

View File

@ -1,7 +1,8 @@
import asyncio import asyncio
from fastapi import APIRouter, FastAPI
from fastapi import APIRouter
from fastapi.staticfiles import StaticFiles from fastapi.staticfiles import StaticFiles
from starlette.routing import Mount
from lnbits.db import Database from lnbits.db import Database
from lnbits.helpers import template_renderer from lnbits.helpers import template_renderer
from lnbits.tasks import catch_everything_and_restart from lnbits.tasks import catch_everything_and_restart
@ -22,10 +23,10 @@ def copilot_renderer():
return template_renderer(["lnbits/extensions/copilot/templates"]) return template_renderer(["lnbits/extensions/copilot/templates"])
from .views_api import * # noqa
from .views import * # noqa
from .tasks import wait_for_paid_invoices
from .lnurl import * # noqa from .lnurl import * # noqa
from .tasks import wait_for_paid_invoices
from .views import * # noqa
from .views_api import * # noqa
def copilot_start(): def copilot_start():