Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fixup circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
dni committed Feb 17, 2023
1 parent bacd448 commit 7f509de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

db = Database("ext_market")

scheduled_tasks: List[asyncio.Task] = []

market_ext: APIRouter = APIRouter(prefix="/market", tags=["market"])

market_static_files = [
Expand Down Expand Up @@ -38,8 +40,6 @@ def market_renderer():
from .views import * # noqa: F401,F403
from .views_api import * # noqa: F401,F403

scheduled_tasks: List[asyncio.Task] = []

def market_start():
loop = asyncio.get_event_loop()
task = loop.create_task(catch_everything_and_restart(wait_for_paid_invoices))
Expand Down

0 comments on commit 7f509de

Please sign in to comment.