Skip to content

Commit

Permalink
Limit stderr->blackhole code to Windows client console EXEs
Browse files Browse the repository at this point in the history
  • Loading branch information
Et0h authored Sep 19, 2023
1 parent a8755ff commit f822fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncplay/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def flush(self):
sys.stdout = Blackhole()
del Blackhole

elif getattr(sys, 'frozen', '') == "console_exe":
elif isWindowsConsole():
class Blackhole(object):
softspace = 0

Expand Down

0 comments on commit f822fab

Please sign in to comment.