Skip to content

Commit

Permalink
Fix JsonDecodError on python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Corentin Falcone committed Oct 7, 2022
1 parent 1ef4a8d commit 8f79219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/idgotheme/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def get_ihm_settings():
# Résout #8789 avec try..except
try:
data.update(r.json())
except json.decoder.JSONDecodeError:
except Exception:
pass
return data

Expand Down

0 comments on commit 8f79219

Please sign in to comment.