From f822fab9afa403ff5c8b092d64b28d1a52d1dc6b Mon Sep 17 00:00:00 2001 From: Etoh Date: Tue, 19 Sep 2023 20:08:07 +0100 Subject: [PATCH] Limit stderr->blackhole code to Windows client console EXEs --- syncplay/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/utils.py b/syncplay/utils.py index 29f6a11..ea9bec3 100755 --- a/syncplay/utils.py +++ b/syncplay/utils.py @@ -227,7 +227,7 @@ def blackholeStdoutForFrozenWindow(): sys.stdout = Blackhole() del Blackhole - elif getattr(sys, 'frozen', '') == "console_exe": + elif isWindowsConsole(): class Blackhole(object): softspace = 0