Skip to content

Commit

Permalink
[runtest] fix TTY detection
Browse files Browse the repository at this point in the history
so we might get useful CI logs!
  • Loading branch information
fdupress authored and strub committed May 15, 2024
1 parent bde8207 commit 554909c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/testing/runtest
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ async def _main():
allscripts = Gather.gatherall(options.scenarios, options.targets)

listener = None
if sys.stdout.isatty:
if sys.stdout.isatty():
try:
listener = TermListener(allscripts)
except curses.error:
Expand Down

0 comments on commit 554909c

Please sign in to comment.