[mousetrap/gnome3-wip: 69/240] Convert comment into code.
- From: Heidi Ellis <heidiellis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mousetrap/gnome3-wip: 69/240] Convert comment into code.
- Date: Mon, 8 Sep 2014 15:18:21 +0000 (UTC)
commit c47af9fbc24e8dc87773cd2485fcbb8aec5f4fce
Author: Stoney Jackson <dr stoney gmail com>
Date: Wed Jun 11 17:31:46 2014 -0400
Convert comment into code.
src/mousetrap/main.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/mousetrap/main.py b/src/mousetrap/main.py
index 4d78855..7c77108 100644
--- a/src/mousetrap/main.py
+++ b/src/mousetrap/main.py
@@ -4,9 +4,8 @@ import mousetrap.vision as vision
import mousetrap.gui as gui
-# OpenCV will automatically search for a working camera device if we use the
-# index -1.
-DEVICE_INDEX = -1
+SEARCH_FOR_CAMERA = -1
+DEVICE_INDEX = SEARCH_FOR_CAMERA
IMAGE_MAX_WIDTH = 400
IMAGE_MAX_HEIGHT = 300
FPS = 5
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]