mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -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 toml
|
||||
import libcalamares
|
||||
import configparser
|
||||
|
||||
from libcalamares.utils import gettext_path, gettext_languages
|
||||
|
||||
|
@ -796,6 +795,8 @@ class DMsddm(DisplayManager):
|
|||
executable = "sddm"
|
||||
|
||||
def set_autologin(self, username, do_autologin, default_desktop_environment):
|
||||
import configparser
|
||||
|
||||
# Systems with Sddm as Desktop Manager
|
||||
sddm_conf_path = os.path.join(self.root_mount_point, "etc/sddm.conf")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue