--- /usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py~ 2016-03-21 06:42:11.114065591 -0500 +++ /usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py 2016-03-21 06:40:59.121807549 -0500 @@ -216,7 +216,7 @@ def check_running_process(self, process_name): """Return True if the specified process is active.""" # Find the process... - for pid in psutil.get_pid_list(): + for pid in psutil.pids(): try: p = psutil.Process(pid) if self.get_process_username(p) == username: @@ -231,7 +231,7 @@ def stop_light_locker(self): """Safely stop the light-locker process.""" # Find the process... - for pid in psutil.get_pid_list(): + for pid in psutil.pids(): try: p = psutil.Process(pid) if self.get_process_username(p) == username: