init clean up
This commit is contained in:
@@ -1,10 +1,7 @@
|
|||||||
import asyncio
|
from fastapi import APIRouter
|
||||||
from fastapi import APIRouter, FastAPI
|
|
||||||
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
|
|
||||||
|
|
||||||
db = Database("ext_tipjar")
|
db = Database("ext_tipjar")
|
||||||
|
|
||||||
@@ -15,5 +12,5 @@ def tipjar_renderer():
|
|||||||
return template_renderer(["lnbits/extensions/tipjar/templates"])
|
return template_renderer(["lnbits/extensions/tipjar/templates"])
|
||||||
|
|
||||||
|
|
||||||
from .views_api import * # noqa
|
|
||||||
from .views import * # noqa
|
from .views import * # noqa
|
||||||
|
from .views_api import * # noqa
|
||||||
|
|||||||
Reference in New Issue
Block a user