From abdefdc5b9ea720c45d1d0e300f40af77afb24aa Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Mon, 20 Jan 2014 09:54:48 +0200 Subject: [PATCH] motionctl _get_pid fix --- src/motionctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/motionctl.py b/src/motionctl.py index 6b2910c..004e855 100644 --- a/src/motionctl.py +++ b/src/motionctl.py @@ -152,5 +152,5 @@ def _get_pid(): with open(motion_pid_path, 'r') as f: return int(f.readline().strip()) - except IOError, ValueError: + except (IOError, ValueError): return None -- 2.39.5