Fix error ModuleNotFoundError. Thank you roughnecks

This commit is contained in:
Schimon Jehudah 2023-12-28 16:30:32 +00:00
parent 08001eebf8
commit b2387a700d

View file

@ -29,7 +29,6 @@ from slixfeed.datetime import now, rfc2822_to_iso8601
from email.utils import parseaddr from email.utils import parseaddr
from feedparser import parse from feedparser import parse
from http.client import IncompleteRead from http.client import IncompleteRead
from slixfeed.list import is_listed
from lxml import html from lxml import html
import slixfeed.sqlite as sqlite import slixfeed.sqlite as sqlite
from slixfeed.url import complete_url, join_url, trim_url from slixfeed.url import complete_url, join_url, trim_url
@ -175,13 +174,13 @@ async def download_updates(db_file, url=None):
summary, summary,
pathname pathname
) )
allow_list = await is_listed( allow_list = await config.is_listed(
db_file, db_file,
"filter-allow", "filter-allow",
string string
) )
if not allow_list: if not allow_list:
reject_list = await is_listed( reject_list = await config.is_listed(
db_file, db_file,
"filter-deny", "filter-deny",
string string