Skip to content

Commit 3eda89d

Browse files
committed
Fix the action fail
1 parent f52478c commit 3eda89d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
from os.path import dirname, join
12
from urllib.request import urlretrieve
23

34
from setuptools import setup
45

56
if __name__ == "__main__":
67
urlretrieve(
78
"https://cdnjs.cloudflare.com/ajax/libs/mermaid/9.4.3/mermaid.js",
8-
"src/django_mermaid/static/mermaid.js",
9+
join(dirname(__file__), "src", "django_mermaid", "static", "mermaid.js")
910
)
1011
setup()

0 commit comments

Comments
 (0)