init clean up
This commit is contained in:
parent
4403186441
commit
b97cef0e37
|
@ -1,10 +1,7 @@
|
|||
import asyncio
|
||||
from fastapi import APIRouter, FastAPI
|
||||
from fastapi.staticfiles import StaticFiles
|
||||
from starlette.routing import Mount
|
||||
from fastapi import APIRouter
|
||||
|
||||
from lnbits.db import Database
|
||||
from lnbits.helpers import template_renderer
|
||||
from lnbits.tasks import catch_everything_and_restart
|
||||
|
||||
db = Database("ext_tipjar")
|
||||
|
||||
|
@ -15,5 +12,5 @@ def tipjar_renderer():
|
|||
return template_renderer(["lnbits/extensions/tipjar/templates"])
|
||||
|
||||
|
||||
from .views_api import * # noqa
|
||||
from .views import * # noqa
|
||||
from .views_api import * # noqa
|
||||
|
|
Loading…
Reference in New Issue
Block a user