From c5559f7d4198aee89a20264f86102d80627c6310 Mon Sep 17 00:00:00 2001 From: Thomas Perl Date: Thu, 9 May 2019 11:38:21 +0200 Subject: [PATCH] Python 3's ConfigParser is already the safe one --- adbfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adbfs b/adbfs index cd5a238..e3a7160 100755 --- a/adbfs +++ b/adbfs @@ -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'),