1
0
mirror of https://github.com/gryf/mc_adbfs.git synced 2025-12-18 12:00:19 +01:00

Change SafeConfigParser to ConfigParser

This commit is contained in:
2020-05-21 10:10:43 +02:00
parent 039c078a35
commit e9b196eaf8

2
adbfs
View File

@@ -188,7 +188,7 @@ class Conf(object):
if not os.path.exists(conf_fname):
return
cfg = configparser.SafeConfigParser()
cfg = configparser.ConfigParser()
cfg_map = {'debug': (cfg.getboolean, 'debug'),
'dirs_to_skip': (cfg.get, 'dirs_to_skip'),
'suppress_colors': (cfg.get, 'suppress_colors'),