mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2024-12-29 10:56:10 +00:00
💀
This commit is contained in:
parent
aa655a40a2
commit
157db05fd1
|
@ -78,7 +78,7 @@ def image(image_id):
|
|||
# Slice the list of IDs into chunks of the limit
|
||||
for j in total_images[i * limit : (i + 1) * limit]:
|
||||
# Is our image in this chunk?
|
||||
if image_id < j[-1]:
|
||||
if not image_id > j[-1]:
|
||||
return_page = i + 1
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in a new issue