Fix line indent issue

This commit is contained in:
Gobinath 2017-08-28 16:01:31 -04:00
parent 6d3197c670
commit 589f101de4
1 changed files with 3 additions and 3 deletions

View File

@ -326,9 +326,9 @@ def lock_screen_command():
if 'deprecated' not in os.environ.get('GNOME_DESKTOP_SESSION_ID') and command_exist('gnome-screensaver-command'):
# Gnome 2
return ['gnome-screensaver-command', '--lock']
elif command_exist('xscreensaver-command'):
# this will fail if the daemon is not running
return os.system('xscreensaver-command -version > /dev/null') == 0
elif command_exist('xscreensaver-command'):
# this will fail if the daemon is not running
return os.system('xscreensaver-command -version > /dev/null') == 0
return None