Skip to content

Commit

Permalink
Fix catch exception importlib resources
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-fazil committed Aug 13, 2024
1 parent a9faa98 commit 285a9e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion body/stretch_body/robot_collision.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# works on ubunut 22.04
import importlib.resources as importlib_resources
str(importlib_resources.files("stretch_body"))
except AttributeError, ModuleNotFoundError as e:
except Exception as e:
# works on ubuntu 20.04
import importlib_resources
str(importlib_resources.files("stretch_body"))
Expand Down
2 changes: 1 addition & 1 deletion body/stretch_body/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# 2) we can import it in setup.py for the same reason
# 3) we can import it into your module

__version__ = '0.7.24'
__version__ = '0.7.26'

0 comments on commit 285a9e1

Please sign in to comment.