diff --git a/src/modules/displaymanager/main.py b/src/modules/displaymanager/main.py index 68143cd55..05ef382dc 100644 --- a/src/modules/displaymanager/main.py +++ b/src/modules/displaymanager/main.py @@ -324,7 +324,7 @@ def run(): else: return "kdm selected but not installed", "" - if username != "None": + if username != None: libcalamares.utils.debug( "Setting up autologin for user %s." % username) return set_autologin(username, displaymanagers, root_mount_point)