Make random choice compatible with python3

This commit is contained in:
Ivan Malison 2021-07-30 18:25:30 -06:00
parent 9c8d015902
commit 9ae82ad584
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -2,5 +2,5 @@
import sys import sys
import random import random
print sys.argv[1:] print(sys.argv[1:])
print random.choice(sys.argv[1:]) print(random.choice(sys.argv[1:]))