Skip to content

Commit f32f257

Browse files
authored
Merge pull request #18 from oprypin/md15
Compatibility with MkDocs 1.5 change to extra_javascript
2 parents 369e0db + 8605b3b commit f32f257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkdocs_charts_plugin/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
def check_library(libnames, dependency):
1717
for lib in libnames:
18-
if dependency in lib:
18+
if dependency in str(lib):
1919
return True
2020
raise PluginError(
2121
f"[mkdocs_charts_plugin]: Missing 'extra_javascript' dependency for {dependency}. Please see setup instructions."

0 commit comments

Comments
 (0)