Fixed version check

This commit is contained in:
Antoine 2015-04-27 20:05:25 +08:00
parent f31827d642
commit 7aa2fdb18c

View File

@ -1,6 +1,6 @@
from six import string_types from six import string_types
import sys import sys
if sys.version_info < (2, 6): if sys.version_info < (2, 7):
from django.utils.importlib import import_module from django.utils.importlib import import_module
else: else:
from importlib import import_module from importlib import import_module