Skip to content

Commit

Permalink
Merge pull request #22 from Ailurupoda/redmine-issues/14761
Browse files Browse the repository at this point in the history
REDMINE_ISSUE-14761 : Fix JsonDecodError on python 2.7
  • Loading branch information
m431m authored Oct 7, 2022
2 parents 1ef4a8d + 8f79219 commit 8eea8fa
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 8eea8fa

Please sign in to comment.