From 11424195ef7932e62901a984f3e53cf8ba21c097 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 15 Nov 2021 12:06:05 +0100 Subject: [PATCH] [displaymanager] Missing method call - Add `()` to call the config_path() method, because we need a path to pass to os.path.exists(). --- src/modules/displaymanager/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/displaymanager/main.py b/src/modules/displaymanager/main.py index 287e4cc6b..d9832730b 100644 --- a/src/modules/displaymanager/main.py +++ b/src/modules/displaymanager/main.py @@ -854,7 +854,7 @@ class DMgreetd(DisplayManager): def config_load(self): import toml - if (os.path.exists(self.config_path)): + if (os.path.exists(self.config_path())): self.config_data = toml.loads(self.config_path()) self.config_data['terminal'] = dict(vt = "next")