Skip to content

Commit 91a7b99

Browse files
ReijerBoodtjoshuadavidthomas
authored andcommitted
Explicitely convert icon Path to string
1 parent cb9cc81 commit 91a7b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wagtail_heroicons/wagtail_hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
@hooks.register("register_icons")
1212
def register_icons(icons):
1313
for icon in Heroicon.get_icons():
14-
icons.append(icon.path)
14+
icons.append(str(icon.path))
1515
return icons

0 commit comments

Comments
 (0)