Change Random Into to be not zero

This commit is contained in:
Willow Behar
2020-10-16 12:51:09 -05:00
parent cb56561e12
commit 79f1775324

View File

@ -38,7 +38,7 @@ def main():
key = int(sys.argv[key_flag_location + 1]) key = int(sys.argv[key_flag_location + 1])
else: else:
#Randomly generate a key #Randomly generate a key
key = random.randint(0, 100) key = random.randint(1, 100)
print("Key:", key) print("Key:", key)
if "-E" in sys.argv: if "-E" in sys.argv:
#Get Encrypt Flag Location #Get Encrypt Flag Location