diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-04-30 01:02:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-30 01:02:25 +0100 |
commit | db75c86e8463b130d4dcd84e79c1ebee616f9689 (patch) | |
tree | b7c0c3e9262f8ca27470a0151cb5109472da20fa /synapse/config/logger.py | |
parent | Move more xrange to six (diff) | |
parent | Merge pull request #3085 from NotAFile/py3-config-text-mode (diff) | |
download | synapse-db75c86e8463b130d4dcd84e79c1ebee616f9689.tar.xz |
Merge branch 'develop' into py3-xrange-1
Diffstat (limited to 'synapse/config/logger.py')
-rw-r--r-- | synapse/config/logger.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/logger.py b/synapse/config/logger.py index 3f70039acd..6a7228dc2f 100644 --- a/synapse/config/logger.py +++ b/synapse/config/logger.py @@ -117,7 +117,7 @@ class LoggingConfig(Config): log_config = config.get("log_config") if log_config and not os.path.exists(log_config): log_file = self.abspath("homeserver.log") - with open(log_config, "wb") as log_config_file: + with open(log_config, "w") as log_config_file: log_config_file.write( DEFAULT_LOG_CONFIG.substitute(log_file=log_file) ) |