mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-04 21:59:58 -05:00
Fixing a few bugs in preparation for sneak peek.
This commit is contained in:
parent
064147a769
commit
474e68cc3d
8 changed files with 119 additions and 20 deletions
|
|
@ -5,7 +5,6 @@ from http import HTTPStatus
|
|||
from sanic import Blueprint, response
|
||||
from sanic.request import Request
|
||||
|
||||
from wrolpi import before_startup
|
||||
from wrolpi.common import create_websocket_feed, get_sanic_url, \
|
||||
wrol_mode_check
|
||||
from wrolpi.common import logger
|
||||
|
|
@ -128,8 +127,3 @@ async def favorite(_: Request, data: dict):
|
|||
async def statistics(_: Request):
|
||||
ret = await get_statistics()
|
||||
return json_response(ret, HTTPStatus.OK)
|
||||
|
||||
|
||||
@before_startup
|
||||
def startup_spread_channel_downloads():
|
||||
channel_lib.spread_channel_downloads()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue