Commits

Ben Bangert committed fb3f93c

Fix undefined name typo.

Comments (0)

Files changed (1)

webhelpers/mimehelper.py

         if has_extension == False:
             if possible_from_accept_header is None:
                 return self._set_responce_conetent_type(content_type)
-            elif mimetype in possible_from_accept_header:
+            elif content_type in possible_from_accept_header:
                 return self._set_responce_conetent_type(content_type)
             else:
                 return False