mirror of https://github.com/Syncplay/syncplay
Limit stderr->blackhole code to Windows client console EXEs
This commit is contained in:
parent
a8755ffd2c
commit
f822fab9af
|
@ -227,7 +227,7 @@ def blackholeStdoutForFrozenWindow():
|
|||
sys.stdout = Blackhole()
|
||||
del Blackhole
|
||||
|
||||
elif getattr(sys, 'frozen', '') == "console_exe":
|
||||
elif isWindowsConsole():
|
||||
class Blackhole(object):
|
||||
softspace = 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue