From 9a55c9dce8c27b213fc9fe95c14321cd6422cfe9 Mon Sep 17 00:00:00 2001 From: yomguy Date: Mon, 4 Jul 2011 14:59:31 +0200 Subject: [PATCH] fix pids for squeeze --- telecaster.py | 2 +- tools/tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/telecaster.py b/telecaster.py index 7973641..5c39217 100755 --- a/telecaster.py +++ b/telecaster.py @@ -35,7 +35,7 @@ # Author: Guillaume Pellerin """ -version = '0.5.2' +version = '0.5.3' import os diff --git a/tools/tools.py b/tools/tools.py index 80d7371..8f99eed 100644 --- a/tools/tools.py +++ b/tools/tools.py @@ -108,7 +108,7 @@ def get_pid(proc,uid): pid = proc.split(' ')[0] command = ' '.join(proc.split(' ')[1:])[:-1] pids.append(pid) - if len(pids) < 1: + if len(pids) <= 1: return [] else: return [pids[0]] -- 2.39.5