From a186c7e44b74ffc390f943dc3c2522cc58602d2a Mon Sep 17 00:00:00 2001 From: demmm Date: Wed, 5 Nov 2014 22:26:10 -0500 Subject: [PATCH] Missing define, check_chroot_call replaced not really needed here, subprocess.call well tested --- 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 b6d72bf73..ffee4b253 100644 --- a/src/modules/displaymanager/main.py +++ b/src/modules/displaymanager/main.py @@ -138,7 +138,7 @@ def set_autologin(username, displaymanagers, root_mount_point): if os.path.isfile(sddm_conf_path): print('SDDM config file exists') else: - check_chroot_call("sddm --example-config > etc/sddm.conf", shell=True) + subprocess.call("sddm --example-config > etc/sddm.conf", shell=True) text = [] with open(sddm_conf_path, 'r') as sddm_conf: text = sddm_conf.readlines()