new photos directories
This commit is contained in:
parent
cdf660287d
commit
f99a079b71
@ -192,7 +192,8 @@ def results(request):
|
|||||||
|
|
||||||
|
|
||||||
def photos(request):
|
def photos(request):
|
||||||
files = glob.glob("photos/*.jpg")
|
for (i, name) in ALKATOR_CLASSES:
|
||||||
|
files = glob.glob(f"photos/{i}/*.jpg")
|
||||||
rtn = []
|
rtn = []
|
||||||
random.shuffle(files)
|
random.shuffle(files)
|
||||||
for file in files:
|
for file in files:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user