mirror of
https://github.com/gryf/mc_adbfs.git
synced 2026-10-08 04:02:29 +02:00
Python 3's ConfigParser is already the safe one
This commit is contained in:
1 parent
9ffa1a13af
commit
c5559f7d41
1 file changed
+1
-1
@@ -189,7 +189,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'),
|
||||
|
||||
Reference in new issue
Block a user