Skip to content
Browse files

fix permanent id

  • Loading branch information...
1 parent d809e69 commit f0ab40d37caa339233fff297839e95a7c7acb589 @jamesturk jamesturk committed Feb 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 openstates/sfm.py
View
2 openstates/sfm.py
@@ -138,7 +138,7 @@ def wv_handler(filedata, metadata):
def _to_numeric_id(id):
state,num = id.split('D')
states = ('AK', 'AL', 'AR', 'AZ')
- return str(states.index(pieces[0]) + 1) + num
+ return str(states.index(state) + 1) + num
def push_to_sfm(doc, newdata):

0 comments on commit f0ab40d

Please sign in to comment.
Something went wrong with that request. Please try again.