fix mypy in rss provider
This commit is contained in:
parent
fdf1a3f935
commit
7b2c5619b7
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
from itertools import chain
|
from itertools import chain
|
||||||
from typing import List
|
from typing import List, Dict
|
||||||
|
|
||||||
from ._rss import Subscription
|
from ._rss import Subscription
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ def get_all_subscriptions() -> List[Subscription]:
|
||||||
states = {}
|
states = {}
|
||||||
states.update(feedly.get_states())
|
states.update(feedly.get_states())
|
||||||
states.update(feedbin.get_states())
|
states.update(feedbin.get_states())
|
||||||
by_url = {}
|
by_url: Dict[str, Subscription] = {}
|
||||||
for d, feeds in sorted(states.items()):
|
for d, feeds in sorted(states.items()):
|
||||||
for f in feeds:
|
for f in feeds:
|
||||||
if f.url not in by_url:
|
if f.url not in by_url:
|
||||||
|
|
Loading…
Add table
Reference in a new issue