diff --git a/lnbits/extensions/tipjar/__init__.py b/lnbits/extensions/tipjar/__init__.py index 7877cab3..a4b50c04 100644 --- a/lnbits/extensions/tipjar/__init__.py +++ b/lnbits/extensions/tipjar/__init__.py @@ -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