Merge branch 'KockaAdmiralac-testing-patch-07864' into 'testing'

Abuse Log: return maximum ID from `prepare_abuse_log`

See merge request piotrex43/RcGcDw!124
This commit is contained in:
Frisk 2024-03-12 20:06:57 +00:00
commit 5f4d819e71

View file

@ -232,7 +232,7 @@ class Wiki(object):
if entry["id"] <= recent_id:
continue
self.abuse_processor(entry)
return entry["id"]
return max([entry["id"] for entry in abuse_log])
def fetch_changes(self, amount):
"""Fetches the :amount: of changes from the wiki.