Skip to content

Commit d47e86d

Browse files
[STYLE] Minor style fixes from review (- WIP PR #169 -)
### ChangeLog: Changes in file multicast/exceptions.py: def wrapper(*args, **kwargs):
1 parent d2cab59 commit d47e86d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multicast/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def wrapper(*args, **kwargs):
436436
# otherwise sys.exit(exit_code)
437437
except BaseException as exc:
438438
exit_code = get_exit_code_from_exception(exc)
439-
if (sys.stdout.isatty()):
439+
if (sys.stderr.isatty()):
440440
print(
441441
f"{EXIT_CODES[exit_code][1]}: {exc}",
442442
file=sys.stderr

0 commit comments

Comments
 (0)