From bc99abf2af52d1046739de851cf14f0199463ab8 Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Mon, 31 May 2021 23:59:04 +0300 Subject: [PATCH] Replace SafeConfigParser with ConfigParser SafeConfigParser seems to be deprecated now. Closes #20 --- src/xdgmenumaker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdgmenumaker b/src/xdgmenumaker index 324356e..9325d01 100755 --- a/src/xdgmenumaker +++ b/src/xdgmenumaker @@ -151,7 +151,7 @@ other_icon = de.getIcon() terminal_app = os.getenv("XDGMENUMAKERTERM") if not terminal_app: try: - config = cp.SafeConfigParser() + config = cp.ConfigParser() config.read(os.path.expanduser('~/.config/xdgmenumaker.cfg')) terminal_app = config.get('Terminal', 'terminal') # if there isn't, on debian and debian-likes, use the alternatives