From d20285d4f20a3f7ff76ea145b50bdec0b7d0ef2f Mon Sep 17 00:00:00 2001 From: Philip Date: Thu, 21 Sep 2017 13:08:13 -0400 Subject: [PATCH] [modules] displaymanager: try to fix regression introduced with c8fd11b --- src/modules/displaymanager/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/displaymanager/main.py b/src/modules/displaymanager/main.py index 814a0cf3c..3282982d7 100644 --- a/src/modules/displaymanager/main.py +++ b/src/modules/displaymanager/main.py @@ -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) )