fix None error
This commit is contained in:
parent
9f688cb50a
commit
ad19c3c7dc
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Reference in a new issue