Nicer formatting
This commit is contained in:
parent
2c8ca6623a
commit
68b2350276
|
@ -31,9 +31,9 @@ import helper_bootstrap
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
if sys.platform == 'darwin':
|
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 "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)
|
sys.exit(0)
|
||||||
|
|
||||||
def connectToStream(streamNumber):
|
def connectToStream(streamNumber):
|
||||||
|
|
Reference in New Issue
Block a user