Created
November 25, 2019 02:34
-
-
Save marked/94075f2be116c069563776f1d2bb040a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/yahoo.py b/yahoo.py | |
index 5581b1f..113441f 100755 | |
--- a/yahoo.py | |
+++ b/yahoo.py | |
@@ -930,7 +930,7 @@ if __name__ == "__main__": | |
args.polls = args.attachments = args.members = args.topics = args.raw = True | |
with Mkchdir(args.group, sanitize=False): | |
- log_file_handler = logging.FileHandler('archive.log') | |
+ log_file_handler = logging.FileHandler('archive.log','w','utf-8') | |
log_file_handler.setFormatter(log_formatter) | |
root_logger.addHandler(log_file_handler) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment