LightDM: fix type (thanks Kevin Kofler)

This commit is contained in:
Adriaan de Groot 2017-07-10 14:43:13 -04:00 committed by Philip
parent 71d08a89a9
commit fc119c1fae

View File

@ -295,7 +295,7 @@ def set_autologin(username,
else: else:
lightdm_conf.write( lightdm_conf.write(
"#autologin-user=\n") "#autologin-user=\n")
except FileNotFOundError: except FileNotFoundError:
return ( return (
"Cannot write LightDM configuration file", "Cannot write LightDM configuration file",
"LightDM config file {!s} does not exist".format( "LightDM config file {!s} does not exist".format(