Merge pull request #3 from evildmp/issue_2_version_checking
fixed #2 Python 2.6, sys.version.major test fails (not a tuple)
This commit is contained in:
commit
f7886aae0c
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ from django.core import exceptions
|
|||
|
||||
from ..forms.fields import MultiSelectFormField
|
||||
|
||||
if sys.version_info.major == 2:
|
||||
if sys.version_info[0] == 2:
|
||||
string = basestring
|
||||
string_type = unicode
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue