Skip to content

Commit

Permalink
tolerate blank jurisdiction
Browse files Browse the repository at this point in the history
  • Loading branch information
longhotsummer committed Feb 26, 2024
1 parent 8c47acd commit 2f39497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peachjam/adapters/gazettes.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def delete_document(self, expression_frbr_uri):
class GazetteAPIAdapter(Adapter):
def __init__(self, settings):
super().__init__(settings)
self.jurisdiction = self.settings["jurisdiction"]
self.jurisdiction = self.settings.get("jurisdiction")
self.client = requests.session()
self.client.headers.update(
{
Expand Down

0 comments on commit 2f39497

Please sign in to comment.