can't customize commands with oblogout.conf

Bug #1206102 reported by neibaf
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OBLogout
New
Undecided
Unassigned

Bug Description

There is a little mistyping in line 225 of __init__.py which disable the capability to customize commands.

The old line :
   if key[1] in ['logout', 'restart', 'shutdown', 'suspend', 'hibernate', 'safesuspend', 'lock', 'switch']:
The correction :
   if key[0] in ['logout', 'restart', 'shutdown', 'suspend', 'hibernate', 'safesuspend', 'lock', 'switch']:

It was looking of the value insdead of the key.

Regards.

Neibaf

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.