From 3c8edbedeb618d5d81903c57c5d428becf1a0d4a Mon Sep 17 00:00:00 2001 From: Michael Stephens Date: Fri, 7 Jan 2011 14:18:14 -0500 Subject: [PATCH] import_legislators typo --- fiftystates/backend/legislators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fiftystates/backend/legislators.py b/fiftystates/backend/legislators.py index 4edeb0bd26..37e5d715ac 100644 --- a/fiftystates/backend/legislators.py +++ b/fiftystates/backend/legislators.py @@ -37,7 +37,7 @@ def import_legislators(state, data_dir): paths = glob.glob(pattern) for path in paths: with open(path) as f: - import_legislator(json.load(data)) + import_legislator(json.load(f)) print 'imported %s legislator files' % len(paths)