fix #2
This commit is contained in:
parent
13d756150b
commit
07d7c6511c
@ -192,9 +192,9 @@ def results(request):
|
|||||||
|
|
||||||
|
|
||||||
def photos(request):
|
def photos(request):
|
||||||
|
rtn = []
|
||||||
for (i, name) in ALKATOR_CLASSES:
|
for (i, name) in ALKATOR_CLASSES:
|
||||||
files = glob.glob(f"photos/{i}/*.jpg")
|
files = glob.glob(f"photos/{i}/*.jpg")
|
||||||
rtn = []
|
|
||||||
random.shuffle(files)
|
random.shuffle(files)
|
||||||
for file in files:
|
for file in files:
|
||||||
img = PIL.Image.open(file)
|
img = PIL.Image.open(file)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user