Commits

Anonymous committed 9170cad

Fix: mis-spelling in isinstance. major oops.

Comments (0)

Files changed (1)

wtforms/ext/django/fields.py

             self.get_label = operator.attrgetter(label_attr)
         elif get_label is None:
             self.get_label = lambda x: x
-        elif isintance(get_label, basestring):
+        elif isinstance(get_label, basestring):
             self.get_label = operator.attrgetter(get_label)
         else:
             self.get_label = get_label