Switched to raw config parser
This commit is contained in:
parent
d55ab8c5b2
commit
2775b78f8f
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ parser.add_argument('-c', '--config', type=Path, default='config.ini',
|
|||
|
||||
args = parser.parse_args()
|
||||
|
||||
config = configparser.ConfigParser()
|
||||
config = configparser.RawConfigParser()
|
||||
config.read(args.config)
|
||||
|
||||
locale.setlocale(locale.LC_ALL, config.get('locale', 'locale', fallback=None))
|
||||
|
|
Reference in a new issue