Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

CO: Small tweek to the bill scraper

  • Loading branch information...
commit 0d415cc61672c903b2b1c3384cc2cb038bf84d59 1 parent 2355306
@paultag paultag authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  openstates/co/bills.py
View
3  openstates/co/bills.py
@@ -579,7 +579,8 @@ def scrape_bill_sheet( self, session, chamber ):
self.add_action_to_bill( b, action )
for sponsor in sponsors:
- if sponsor != None and sponsor != "(NONE)":
+ if sponsor != None and sponsor != "(NONE)" and \
+ sponsor != "":
b.add_sponsor("primary", sponsor)
# Now that we have history, let's see if we can't grab some
Please sign in to comment.
Something went wrong with that request. Please try again.