diff --git a/src/wiki.py b/src/wiki.py index 2f7e770..9c09878 100644 --- a/src/wiki.py +++ b/src/wiki.py @@ -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.