[displaymanager] Missing method call

- Add `()` to call the config_path() method, because we need a path
  to pass to os.path.exists().
This commit is contained in:
Adriaan de Groot 2021-11-15 12:06:05 +01:00
parent fad2f6ea88
commit 11424195ef

View File

@ -854,7 +854,7 @@ class DMgreetd(DisplayManager):
def config_load(self): def config_load(self):
import toml 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 = toml.loads(self.config_path())
self.config_data['terminal'] = dict(vt = "next") self.config_data['terminal'] = dict(vt = "next")