Fix "output" var not existing ...

This commit is contained in:
Alexandre Aubin 2023-07-10 19:21:36 +02:00 committed by GitHub
parent cc597404b7
commit 773bf803b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,9 +47,9 @@ def main():
else: else:
anonymize_output_flag = True anonymize_output_flag = True
command_output = sys.stdin.read() output = sys.stdin.read()
if not command_output: if not output:
print("\033[31mError: No input received from stdin.\033[0m") print("\033[31mError: No input received from stdin.\033[0m")
sys.exit(1) sys.exit(1)