LightDM: fix type (thanks Kevin Kofler)

This commit is contained in:
Adriaan de Groot 2017-07-10 14:43:13 -04:00
parent fc577b4b79
commit ce11c7ab6d

View File

@ -291,7 +291,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(