0

Fixed version check

This commit is contained in:
Andrew Chin
2010-12-23 23:31:07 -05:00
parent 2bf7566b5a
commit fe8cd07c51

View File

@@ -16,8 +16,8 @@
# with the Overviewer. If not, see <http://www.gnu.org/licenses/>.
import sys
if sys.version_info[0] != 2 and sys.version_info[1] < 6:
print "Sorry, the Overviewer requires at least Python 2.6 to run"
if not (sys.version_info[0] == 2 and sys.version_info[1] >= 6):
print "Sorry, the Overviewer requires at least Python 2.6 to run" # Python3.0 is not supported either
sys.exit(1)
import os