Merge pull request #461 from neilmayhew/fix/inline-config-comments

Restore the ability to use inline comments in config files
This commit is contained in:
JoeLametta
2020-02-04 16:23:55 +01:00
committed by GitHub
2 changed files with 4 additions and 3 deletions

View File

@@ -36,7 +36,8 @@ class Config:
def __init__(self, path=None):
self._path = path or directory.config_path()
self._parser = configparser.ConfigParser()
self._parser = configparser.ConfigParser(
inline_comment_prefixes=(';'))
self.open()