Reduce suppression of .exe error logging
Increases verbosity to reduce aggressiveness of c670acba1fc2f6d4ebbcb085574bd36265f1db8a
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…
x
Reference in New Issue
Block a user