Skip to content

Commit

Permalink
Reduce suppression of .exe error logging
Browse files Browse the repository at this point in the history
Increases verbosity to reduce aggressiveness of c670acb
  • Loading branch information
Et0h authored Feb 16, 2024
1 parent 888bb53 commit d5eb213
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 @@ -211,7 +211,7 @@ def write(self, text, fname='.syncplay.log'):
self._file = open(path, 'a', encoding='utf-8')
# TODO: Handle errors.
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.flush()

Expand Down

0 comments on commit d5eb213

Please sign in to comment.