[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:
parent
fad2f6ea88
commit
11424195ef
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user