Traceback (most recent call last):
File "scorecard.py", line 22, in
main()
File "scorecard.py", line 10, in main
senators = [s.get('bioguide_id') for s in congress.legislators(chamber='senate', fields='bioguide_id', limit=200)]
File "/Users/tomlee/.virtualenvs/eff_scorecard/lib/python2.7/site-packages/sunlight/pagination.py", line 76, in pagingfunc
for rec in resp:
TypeError: 'NoneType' object is not iterable
but