Skip to content

Commit

Permalink
Merge pull request #312 from cfpb/fix-update-via-api-zip5
Browse files Browse the repository at this point in the history
Fix script to handle longer ZIP code values
  • Loading branch information
higs4281 committed Oct 19, 2017
2 parents 4cdd03f + 83c46a3 commit 353aacb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paying_for_college/disclosures/scripts/update_colleges.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def fix_zip5(zip5):
if len(zip5) == 3:
return "00{0}".format(zip5)
else:
return zip5
return zip5[:5]


def update(exclude_ids=[], single_school=None):
Expand Down

0 comments on commit 353aacb

Please sign in to comment.