Light locker settings won't start even after bug 1559735 implementation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
light-locker-settings (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I recently installed xubuntu 16.04 and i am a beginner in linux. I noticed when i press the Light Locker settings, the application doesn't start. Since I am new to this, I tried to search if there were any solution to the problem, but even after implementing the changes (from bug155935) there is something wrong in the code and i can't figure it out. Thats why i thought opening a bug is probably a good idea.
This is the piece from my light-locker-
def check_running_
"""Return True if the specified process is active."""
# Find the process...
# for pid in psutil_get_pids():
for pid in psutill.pids():
try:
p = psutil.Process(pid)
if self.get_
except
return False
when i type in terminal
$ light-locker-
I get this error
File "/usr/share/
return True
SyntaxError: 'return' outside function
I thought after implementing the changes from bug 1559735 this application would start working.
Please Help.