LightDM: fix type (thanks Kevin Kofler)
This commit is contained in:
parent
71d08a89a9
commit
fc119c1fae
@ -295,7 +295,7 @@ def set_autologin(username,
|
||||
else:
|
||||
lightdm_conf.write(
|
||||
"#autologin-user=\n")
|
||||
except FileNotFOundError:
|
||||
except FileNotFoundError:
|
||||
return (
|
||||
"Cannot write LightDM configuration file",
|
||||
"LightDM config file {!s} does not exist".format(
|
||||
|
Loading…
Reference in New Issue
Block a user