mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
[displaymanager] Import configparser only for the DMs that actually need it
This commit is contained in:
parent
138db1c817
commit
85f36c77b1
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,6 @@ import abc
|
||||||
import os
|
import os
|
||||||
import toml
|
import toml
|
||||||
import libcalamares
|
import libcalamares
|
||||||
import configparser
|
|
||||||
|
|
||||||
from libcalamares.utils import gettext_path, gettext_languages
|
from libcalamares.utils import gettext_path, gettext_languages
|
||||||
|
|
||||||
|
@ -796,6 +795,8 @@ class DMsddm(DisplayManager):
|
||||||
executable = "sddm"
|
executable = "sddm"
|
||||||
|
|
||||||
def set_autologin(self, username, do_autologin, default_desktop_environment):
|
def set_autologin(self, username, do_autologin, default_desktop_environment):
|
||||||
|
import configparser
|
||||||
|
|
||||||
# Systems with Sddm as Desktop Manager
|
# Systems with Sddm as Desktop Manager
|
||||||
sddm_conf_path = os.path.join(self.root_mount_point, "etc/sddm.conf")
|
sddm_conf_path = os.path.join(self.root_mount_point, "etc/sddm.conf")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue