Make mypy happy

master
Salvo 'LtWorf' Tomaselli 2020-08-12 17:32:41 +07:00
parent 6fcb5ecb85
commit fbef0f9deb
No known key found for this signature in database
GPG Key ID: B3A7CF0C801886CF
1 changed files with 2 additions and 2 deletions

@ -82,8 +82,8 @@ def optimize_all(expression: Union[str, Node], rels: Dict[str, Relation], specif
debug.append(str(n))
total += c
if general:
for i in optimizations.general_optimizations:
n, c = recursive_scan(i, n, None)
for j in optimizations.general_optimizations:
n, c = recursive_scan(j, n, None)
if c != 0 and isinstance(debug, list):
debug.append(str(n))
total += c