Skip to content

Commit

Permalink
Fix stdin input.
Browse files Browse the repository at this point in the history
Fixes #95
  • Loading branch information
jrfonseca committed Jun 24, 2024
1 parent 4d8a733 commit c63fb2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gprof2dot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit c63fb2e

Please sign in to comment.