From c4435801c354ae7ae0ddc6649431f76cfa16068f Mon Sep 17 00:00:00 2001 From: Akshit Garg <107033189+akshit-deepsource@users.noreply.github.com> Date: Thu, 15 Dec 2022 11:47:19 +0530 Subject: [PATCH] fix: log `stderr` instead of `err` (#23) Signed-off-by: Akshit Garg Signed-off-by: Akshit Garg --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 9641b07..b936fa3 100755 --- a/main.py +++ b/main.py @@ -55,7 +55,7 @@ def main() -> None: sys.exit(1) print(process.stdout.decode("utf-8")) - print(process.err.decode("utf-8"), file=sys.stderr) + print(process.stderr.decode("utf-8"), file=sys.stderr) if __name__ == "__main__":