From 41ae34c8c769eab9aa65b1b65a0cfd0c3980d9e5 Mon Sep 17 00:00:00 2001 From: Karl Schmaltz Date: Fri, 20 Mar 2020 16:44:06 -0600 Subject: [PATCH] Use non-strict mode for ConfigParser --- qomui/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qomui/widgets.py b/qomui/widgets.py index a896ff3..a69c8a6 100755 --- a/qomui/widgets.py +++ b/qomui/widgets.py @@ -893,7 +893,7 @@ def get_desktop_files(self): for f in os.listdir(d): if f.endswith(".desktop"): desktop_file = os.path.join(d, f) - c = configparser.ConfigParser() + c = configparser.ConfigParser(strict=False) c.read(desktop_file) try: