Faulty parsing of config file
Bug #365976 reported by
scorp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OBLogout |
Fix Committed
|
Low
|
Andrew Williams |
Bug Description
Hi,
I'm using minimal system with openbox and I've tested oblogout yesterday.
I found a bug in parsing config file (commands part). I've never used Python
yet, but I could find a faulty line, so here is a bugfix:
In oblogout/
- if key[1] in ['logout', 'restart', 'shutdown', 'suspend', 'hibernate', 'safesuspend', 'lock', 'switch']:
---
+ if key[0] in ['logout', 'restart', 'shutdown', 'suspend', 'hibernate', 'safesuspend', 'lock', 'switch']:
Related branches
To post a comment you must log in.
Interesting, what distribution are you using? What version of Python is included within that?