Skip to content

Commit 834faa2

Browse files
author
Yifan Wu
committed
Fix json read bug
1 parent c83ddc7 commit 834faa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytextdist/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
logger_default_level = logging.INFO
3232

3333
if os.path.exists(logger_config_json_path):
34-
with open(logger_config_json_path, "rb") as f:
34+
with open(logger_config_json_path, "r") as f:
3535
config = json.load(f)
3636
logging.config.dictConfig(config)
3737
else:

0 commit comments

Comments
 (0)