mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-22 00:14:10 +00:00
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:
commit
5f4d819e71
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue