Fix compatibility issue introduced in 1.2.2 for python<2.7

Thanks to Bert IJff for reporting.

Fixes #38
diff --git a/ChangeLog b/ChangeLog
index 0998d6e..d5bd8a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,4 @@
-1.2.3 (2014-10-??)
+1.2.3 (2014-10-08)
 ------------------
 
 New
@@ -6,6 +6,11 @@
 
 - Added shebang to example to make it easier to run. [Patrick Uiterwijk]
 
+Fix
+~~~
+
+- Fix compatibility issue with python<2.7 introduced in 1.2.2. [Patrick Uiterwijk]
+
 
 1.2.2 (2014-10-07)
 ------------------
diff --git a/flask_openid.py b/flask_openid.py
index d9325bb..2407b52 100644
--- a/flask_openid.py
+++ b/flask_openid.py
@@ -104,7 +104,7 @@
         return None
 
 def isstring(x):
-    if sys.version_info.major >= 3:
+    if sys.version_info[0] >= 3:
         return isinstance(x, str)
     else:
         return isinstance(x, basestring)
diff --git a/setup.py b/setup.py
index c3aa389..87e9533 100644
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,7 @@
 
 setup(
     name='Flask-OpenID',
-    version='1.2.3-dev',
+    version='1.2.3',
     url='http://github.com/mitsuhiko/flask-openid/',
     license='BSD',
     author='Armin Ronacher, Patrick Uiterwijk',