So I'm trying to generate Imgur links to append to a list until the list is 10000 links long, but the function only generates one link each time it's called, instead of all 10000. What's wrong?

```
import string
import random
maybe = []
def id_generator(size=7, chars=string.ascii_uppercase + string.digits + string.ascii_lowercase):
    if len(maybe) < 10000:
        maybe.append('http://imgur.com/gallery/' + ''.join(random.choice(chars) for x in range(size)))

```