Skip to content

Commit

Permalink
metanorma/metanorma-cli#315 Replace FileNotFoundError with IOError
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP authored Oct 24, 2023
1 parent a4b5a36 commit 25eb3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inkscape-setup-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
def os_release():
try:
return platform.freedesktop_os_release()
except FileNotFoundError:
except IOError:
# https://github.com/metanorma/metanorma-cli/issues/315
return {}
except AttributeError:
Expand Down

0 comments on commit 25eb3d2

Please sign in to comment.