From d5eb213a5962185c2dda47c818a4e0bde2a9392c Mon Sep 17 00:00:00 2001 From: Etoh Date: Fri, 16 Feb 2024 13:36:19 +0000 Subject: [PATCH] Reduce suppression of .exe error logging Increases verbosity to reduce aggressiveness of c670acba1fc2f6d4ebbcb085574bd36265f1db8a --- syncplay/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/utils.py b/syncplay/utils.py index 2c0e7d5..6adf663 100755 --- a/syncplay/utils.py +++ b/syncplay/utils.py @@ -211,7 +211,7 @@ def blackholeStdoutForFrozenWindow(): self._file = open(path, 'a', encoding='utf-8') # TODO: Handle errors. if self._file is not None: - if not text.startswith(""): + if not (text.startswith("") and "UserWarning:" in text): self._file.write(text) self._file.flush()