[modules] displaymanager: try to fix regression introduced with c8fd11b

main
Philip 7 years ago
parent aa789bc8e9
commit d20285d4f2

@ -483,8 +483,8 @@ def run():
if (os.path.exists(greeter_path)):
# configure first found lightdm-greeter
for entry in os.listdir(greeter_path):
if entry.name.endswith('.desktop'):
greeter = entry.name.split('.')[0]
if entry.endswith('.desktop'):
greeter = entry.split('.')[0]
libcalamares.utils.debug(
"found greeter {!s}".format(greeter)
)

Loading…
Cancel
Save