Skip to content

Commit

Permalink
fix importlib.resources so compatible with py 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrofelder committed Sep 28, 2023
1 parent 39b011a commit b64c291
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions brainrender_napari/utils/brainglobe_logo.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
from importlib.resources import path
from importlib.resources import files

from qtpy.QtWidgets import QGroupBox, QHBoxLayout, QLabel, QWidget

brainglobe_logo = path("brainrender_napari.resources", "brainglobe.png")
brainglobe_logo = files("brainrender_napari").joinpath(
"resources/brainglobe.png"
)

_logo_html = f"""
<h1>
Expand Down

0 comments on commit b64c291

Please sign in to comment.