Skip to content

Commit

Permalink
import_legislators typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejs committed Jan 7, 2011
1 parent 78c78e1 commit 3c8edbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fiftystates/backend/legislators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 3c8edbe

Please sign in to comment.