Skip to content

Commit

Permalink
Merge pull request #4971 from openstates/usa-truncate-event-document-…
Browse files Browse the repository at this point in the history
…note

USA: truncate event document note, which can exceed column length
  • Loading branch information
jessemortenson authored Jun 22, 2024
2 parents 94983c3 + d3bd25f commit 7b6f90a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapers/usa/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def house_meeting(self, xml, source_url):
self.warning(f"Unable to find document type: {doc.get('type')}")

event.add_document(
doc_name, url, media_type=media_type, on_duplicate="ignore"
doc_name[:300], url, media_type=media_type, on_duplicate="ignore"
)

self.geocode(event)
Expand Down

0 comments on commit 7b6f90a

Please sign in to comment.