From c63fb2e098770d49a0a94d743266bef5cc144092 Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Mon, 24 Jun 2024 14:47:16 +0100 Subject: [PATCH] Fix stdin input. Fixes https://github.com/jrfonseca/gprof2dot/issues/95 --- gprof2dot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gprof2dot.py b/gprof2dot.py index dfde3ab..bc38d5b 100755 --- a/gprof2dot.py +++ b/gprof2dot.py @@ -3730,6 +3730,7 @@ def main(argv=sys.argv[1:]): if Format.stdinInput: if not args: fp = sys.stdin + parser = Format(fp) elif options.compare: fp1 = open(args[0], 'rt', encoding='UTF-8') fp2 = open(args[1], 'rt', encoding='UTF-8')