From 86b33b29897c26313e66971317ef313bf580bc8e Mon Sep 17 00:00:00 2001 From: Justin Kitzes Date: Mon, 4 Mar 2013 10:40:06 -0800 Subject: [PATCH] Replace Owl with focusanimal variable --- python/mean_sightings-full.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/mean_sightings-full.py b/python/mean_sightings-full.py index 1b24f35..c9bddd4 100755 --- a/python/mean_sightings-full.py +++ b/python/mean_sightings-full.py @@ -40,7 +40,7 @@ def get_sightings_loop(filename, focusanimal): totalrecs = 0 totalcount = 0 for rec in tab: - if rec['animal'] == 'Owl': + if rec['animal'] == focusanimal: totalrecs += 1 totalcount += rec['count'] -- 2.26.2