[mousetrap/gnome3-wip: 70/240] Fix undefined variable.



commit a82cf7301d58607f5aafc183eda51262542db63a
Author: Stoney Jackson <dr stoney gmail com>
Date:   Wed Jun 11 20:31:23 2014 -0400

    Fix undefined variable.

 src/mousetrap/vision.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mousetrap/vision.py b/src/mousetrap/vision.py
index 5c776a9..161e8bf 100644
--- a/src/mousetrap/vision.py
+++ b/src/mousetrap/vision.py
@@ -72,7 +72,7 @@ class HaarLoader(object):
         import os
 
         if cache_name in HaarLoader._haar_cache:
-            return HaarLoader._haar_cache[name]
+            return HaarLoader._haar_cache[cache_name]
 
         current_dir = os.path.dirname(os.path.realpath(__file__))
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]