Commits

Ben Bangert  committed fb3f93c

Fix undefined name typo.

  • Participants
  • Parent commits 7c5b8ca

Comments (0)

Files changed (1)

File 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