Skip to content

Commit

Permalink
change config encoding to always use utf-8
Browse files Browse the repository at this point in the history
  • Loading branch information
LeiShi1313 committed Oct 20, 2021
1 parent e79f536 commit dcd2972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion differential/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def merge_config(args: argparse.Namespace) -> dict:
config = None
if hasattr(args, 'config'):
config = RawConfigParser()
config.read(args.config)
config.read(args.config, encoding='utf-8')

if config:
# First use the args in the general section
Expand Down

0 comments on commit dcd2972

Please sign in to comment.