mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +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:
|
if entry["id"] <= recent_id:
|
||||||
continue
|
continue
|
||||||
self.abuse_processor(entry)
|
self.abuse_processor(entry)
|
||||||
return entry["id"]
|
return max([entry["id"] for entry in abuse_log])
|
||||||
|
|
||||||
def fetch_changes(self, amount):
|
def fetch_changes(self, amount):
|
||||||
"""Fetches the :amount: of changes from the wiki.
|
"""Fetches the :amount: of changes from the wiki.
|
||||||
|
|
Loading…
Reference in a new issue