mirror of https://github.com/Syncplay/syncplay
Reduce suppression of .exe error logging
Increases verbosity to reduce aggressiveness of c670acba1f
This commit is contained in:
parent
888bb537f7
commit
d5eb213a59
|
@ -211,7 +211,7 @@ def blackholeStdoutForFrozenWindow():
|
||||||
self._file = open(path, 'a', encoding='utf-8')
|
self._file = open(path, 'a', encoding='utf-8')
|
||||||
# TODO: Handle errors.
|
# TODO: Handle errors.
|
||||||
if self._file is not None:
|
if self._file is not None:
|
||||||
if not text.startswith("<frozen zipimport>"):
|
if not (text.startswith("<frozen zipimport>") and "UserWarning:" in text):
|
||||||
self._file.write(text)
|
self._file.write(text)
|
||||||
self._file.flush()
|
self._file.flush()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue