Skip to content

Commit

Permalink
support python 3.11 and 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
asnyv committed Jan 26, 2024
1 parent fb66a3d commit 7543b1b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webviz_config/themes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

__all__ = ["installed_themes"]

if sys.version_info < (3,7,0):
if sys.version_info < (3,10,0):
for entry_point in entry_points().get("webviz_config_themes", []):
theme = entry_point.load()

Expand All @@ -17,7 +17,6 @@

if isinstance(theme, WebvizConfigTheme):
installed_themes[theme.theme_name] = theme

else:
for entry_point in entry_points(group="webviz_config_themes"):
theme = entry_point.load()
Expand Down

0 comments on commit 7543b1b

Please sign in to comment.