tmbdev / tarproc

I/O operation on a closed file detected PTC-W0021
Bug risk
Major
4 years ago4 years old
Trying to perform I/O operation on a closed file
 99    document = ""
100    for command in commands:
101        with os.popen(f"{ACTIVATE}{PYTHON3}{command} --help ") as stream:
102            text = stream.read()103        text = re.sub("```", "", text)
104        document = command_template.format(text=text, command=command)
105    with open("docs/commands.md", "w") as stream: