christianwgd / django-bootstrap-icons

A quick way to add Bootstrap Icons with Django template tags.
MIT License
24 stars 7 forks source link

Uses incorrect slashes on Windows #3

Closed TaylorSMarks closed 3 years ago

TaylorSMarks commented 3 years ago

In the bootstrap_icons.py file, it uses os.path.join in both bs_icon and md_icon, but it's building a URL where we should always have forward slashes, never backwards slashes as you'll end up with if you're running the code on Windows.

christianwgd commented 3 years ago

Fixed with 0.6.1