Skip to content

Commit

Permalink
Fall back to enum34 in serialzer.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anderycks committed Apr 6, 2017
1 parent d479a61 commit f407216
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sqlalchemy_jsonapi/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
Colton J. Provias
MIT License
"""
from enum import Enum

try:
from enum import Enum
except ImportError:
from enum34 import Enum

from inflection import dasherize, tableize, underscore
from sqlalchemy.exc import IntegrityError
Expand Down

0 comments on commit f407216

Please sign in to comment.