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()