Switched to raw config parser

This commit is contained in:
Edgar P. Burkhart 2022-01-28 13:49:31 +01:00
parent d55ab8c5b2
commit 2775b78f8f
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -18,7 +18,7 @@ parser.add_argument('-c', '--config', type=Path, default='config.ini',
args = parser.parse_args() args = parser.parse_args()
config = configparser.ConfigParser() config = configparser.RawConfigParser()
config.read(args.config) config.read(args.config)
locale.setlocale(locale.LC_ALL, config.get('locale', 'locale', fallback=None)) locale.setlocale(locale.LC_ALL, config.get('locale', 'locale', fallback=None))