Browse Source

Replace SafeConfigParser with ConfigParser

SafeConfigParser seems to be deprecated now.

Closes #20
pull/22/head
George Vlahavas 3 years ago
parent
commit
bc99abf2af
  1. 2
      src/xdgmenumaker

2
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

Loading…
Cancel
Save