Safeguard.
This commit is contained in:
parent
a9388c8742
commit
365e95185b
@ -92,6 +92,10 @@ elif sys.argv[1] == "-v":
|
|||||||
print "CoinToss", version
|
print "CoinToss", version
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
if sys.argv[1] is not int:
|
||||||
|
print "Please give an integer."
|
||||||
|
sys.exit(0)
|
||||||
|
|
||||||
printCopyright()
|
printCopyright()
|
||||||
|
|
||||||
# Create necessary variables
|
# Create necessary variables
|
||||||
|
Loading…
Reference in New Issue
Block a user