mirror of
https://github.com/gryf/mc_adbfs.git
synced 2025-12-18 20:10:21 +01:00
Change SafeConfigParser to ConfigParser
This commit is contained in:
2
adbfs
2
adbfs
@@ -188,7 +188,7 @@ class Conf(object):
|
|||||||
if not os.path.exists(conf_fname):
|
if not os.path.exists(conf_fname):
|
||||||
return
|
return
|
||||||
|
|
||||||
cfg = configparser.SafeConfigParser()
|
cfg = configparser.ConfigParser()
|
||||||
cfg_map = {'debug': (cfg.getboolean, 'debug'),
|
cfg_map = {'debug': (cfg.getboolean, 'debug'),
|
||||||
'dirs_to_skip': (cfg.get, 'dirs_to_skip'),
|
'dirs_to_skip': (cfg.get, 'dirs_to_skip'),
|
||||||
'suppress_colors': (cfg.get, 'suppress_colors'),
|
'suppress_colors': (cfg.get, 'suppress_colors'),
|
||||||
|
|||||||
Reference in New Issue
Block a user