This commit is contained in:
Martin Quarda 2024-10-07 06:04:29 +02:00
parent 13d756150b
commit 07d7c6511c

View File

@ -192,9 +192,9 @@ def results(request):
def photos(request):
rtn = []
for (i, name) in ALKATOR_CLASSES:
files = glob.glob(f"photos/{i}/*.jpg")
rtn = []
random.shuffle(files)
for file in files:
img = PIL.Image.open(file)