Add width option to random flag

This commit is contained in:
Maddie H 2022-04-20 18:13:09 +01:00
parent 3517e937e0
commit 3a3fce54e9

View File

@ -104,7 +104,7 @@ def main():
if args.random:
# Choose a flag at random from a list of comma-seperated flags
flag_choices = args.random.split(",")
draw_fetch(random_choice(flag_choices))
draw_fetch(random_choice(flag_choices), args.width)
if args.list:
# List out all the available flags