1. wilbuick
  2. django-oembed-works

Commits

william  committed 27a6446

oops, typo

  • Participants
  • Parent commits d047bd6
  • Branches default

Comments (0)

Files changed (1)

File src/oembed_works/oembed.py

View file
  • Ignore whitespace
         
             else:
                 raise OEmbedError('Invalid mime-type in response - %s' % headers['Content-Type'])
-        except HTTPError e:
+        except HTTPError as e:
             raise OEmbedError('Error opening oembed url %s' % str(e))
         
         return response