Skip to content

Commit

Permalink
bugfix: config encoding - force to utf-8
Browse files Browse the repository at this point in the history
  • Loading branch information
torzdf committed Jun 12, 2023
1 parent 02239d4 commit 77723a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def format_help(cls, helptext: str, is_section: bool = False) -> str:
def _load_config(self) -> None:
""" Load values from config """
logger.verbose("Loading config: '%s'", self.configfile) # type:ignore[attr-defined]
self.config.read(self.configfile)
self.config.read(self.configfile, encoding="utf-8")

def save_config(self) -> None:
""" Save a config file """
Expand Down

0 comments on commit 77723a6

Please sign in to comment.