mirror of
https://github.com/SpyHoodle/PrideFetch.git
synced 2024-11-22 19:05:41 +00:00
Add width option to random flag
This commit is contained in:
parent
3517e937e0
commit
3a3fce54e9
@ -104,7 +104,7 @@ def main():
|
|||||||
if args.random:
|
if args.random:
|
||||||
# Choose a flag at random from a list of comma-seperated flags
|
# Choose a flag at random from a list of comma-seperated flags
|
||||||
flag_choices = args.random.split(",")
|
flag_choices = args.random.split(",")
|
||||||
draw_fetch(random_choice(flag_choices))
|
draw_fetch(random_choice(flag_choices), args.width)
|
||||||
|
|
||||||
if args.list:
|
if args.list:
|
||||||
# List out all the available flags
|
# List out all the available flags
|
||||||
|
Loading…
Reference in New Issue
Block a user