Nicer formatting

This commit is contained in:
RemideZ 2013-07-02 20:25:18 +02:00
parent 2c8ca6623a
commit 68b2350276

View File

@ -31,9 +31,9 @@ import helper_bootstrap
import sys
if sys.platform == 'darwin':
if float( str(sys.version_info[1]) + "." + str(sys.version_info[2])) < 7.5:
if float( "{1}.{2}".format(*sys.version_info) ) < 7.5:
print "You should use python 2.7.5 or greater."
print "Your version:", str(sys.version_info[0]) + "." + str(sys.version_info[1]) + "." + str(sys.version_info[2])
print "Your version: {0}.{1}.{2}".format(*sys.version_info)
sys.exit(0)
def connectToStream(streamNumber):