inquisitor: error should now be nonlocal rather than global

parent 357a7853
Pipeline #61665426 passed with stages
in 4 minutes and 41 seconds
......@@ -47,7 +47,7 @@ def main():
error = False
def err(string: str):
global error
nonlocal error
log.err(string)
error = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment