From 075123cffe4e7160ea20256876901a67f51e30f5 Mon Sep 17 00:00:00 2001 From: John-Scott Atlakson Date: Thu, 10 May 2012 11:15:22 -0400 Subject: [PATCH] Fixed undefined name --- filebrowser/templatetags/fb_tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filebrowser/templatetags/fb_tags.py b/filebrowser/templatetags/fb_tags.py index dbd0ee6..10343c0 100644 --- a/filebrowser/templatetags/fb_tags.py +++ b/filebrowser/templatetags/fb_tags.py @@ -134,7 +134,7 @@ def selectable(parser, token): try: tag, filetype, format = token.split_contents() except: - raise TemplateSyntaxError, "%s tag requires 2 arguments" % token.contents.split()[0] + raise template.TemplateSyntaxError, "%s tag requires 2 arguments" % token.contents.split()[0] return SelectableNode(filetype, format)