Skip to content

Commit 9e0e46f

Browse files
committed
Fixed typo s/endwith/endswith/
1 parent 8c0a3d0 commit 9e0e46f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack_loader/templatetags/webpack_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ def render_bundle(bundle_name):
1616
if chunk['name'].endswith('.js'):
1717
url = chunk.get('publicPath') or chunk['url']
1818
tags.append('<script type="text/javascript" src="{}"></script>'.format(url))
19-
elif chunk['name'].endwith('.css'):
19+
elif chunk['name'].endswith('.css'):
2020
tags.append('<link type="text/css" href="{}" rel="stylesheet">'.format(url))
2121
return '\n'.join(tags)

0 commit comments

Comments
 (0)