fix None error

This commit is contained in:
Dima Gerasimov 2019-05-06 21:41:45 +00:00
parent 9f688cb50a
commit ad19c3c7dc

View file

@ -54,7 +54,7 @@ def _iter():
if selectors is None:
# TODO warn?...
selectors = []
content: Optional[str]
content: Optional[str] = None
for s in selectors:
if 'exact' in s:
content = s['exact']