Skip to content

Commit

Permalink
Merge pull request keithito#218 from youssefsharief/master
Browse files Browse the repository at this point in the history
Use utf8 encoding in infolog.py
  • Loading branch information
keithito authored Sep 11, 2018
2 parents a7aa813 + cbe570b commit 614034c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/infolog.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
def init(filename, run_name, slack_url=None):
global _file, _run_name, _slack_url
_close_logfile()
_file = open(filename, 'a')
_file = open(filename, 'a', encoding="utf-8")
_file.write('\n-----------------------------------------------------------------\n')
_file.write('Starting new training run\n')
_file.write('-----------------------------------------------------------------\n')
Expand Down

0 comments on commit 614034c

Please sign in to comment.