Update cli.py
This commit is contained in:
parent
98a5768827
commit
4634b57a6c
2 changed files with 17 additions and 12 deletions
|
|
@ -153,7 +153,7 @@ async def add_page(request: Request, stats: CommonStats):
|
|||
@static_router.post(path="/add", summary="Add feeds page.", tags=["HTML"])
|
||||
async def add_feed(reader: CommonReader, stats: CommonStats, feed_urls: str = Form(...)):
|
||||
"""Add feeds page."""
|
||||
feed_info = []
|
||||
feed_info: list[dict[str, str]] = []
|
||||
# Each line is a feed URL.
|
||||
for feed_url in feed_urls.split("\n"):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue