diff --git a/protocols/Factorio.py b/protocols/Factorio.py index b5de299..161925e 100644 --- a/protocols/Factorio.py +++ b/protocols/Factorio.py @@ -62,7 +62,7 @@ def _upsert_bulk_write(self, server_list: list): # Prepare the updates updates = [ UpdateOne( - {'host_address': server_list['host_address']}, + {'host_address': server['host_address']}, { '$set': server, '$currentDate': {'_last_modified': True},