Skip to content

Commit

Permalink
Fixed library import on resize template tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
benhohner committed Mar 23, 2016
1 parent 739c140 commit 7ac9dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resize/templatetags/resize.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def global_function(func):


@register.filter
@lib.global_function
@library.global_function
def resize(img_file, size=100):
try:
return resize_image(img_file, size)
Expand Down

0 comments on commit 7ac9dc9

Please sign in to comment.