remove first element rather than last from sent list

This commit is contained in:
2024-06-20 15:35:47 -05:00
parent 97da0d8b93
commit fb4d072b15

View File

@@ -57,7 +57,7 @@ def sent_previously(url):
# Prune sent list
while len(sent) > 100:
sent.pop()
sent.pop(0)
# Write cache to disk
with open(cache_file, "w") as file: