diff --git a/consumerlocator.py b/consumerlocator.py index 57f0c44..b741848 100644 --- a/consumerlocator.py +++ b/consumerlocator.py @@ -56,7 +56,7 @@ class ConsumerLocator: for recconsumer in recievedconsumerlist: contains = False - for consumer in self.red.consumerlist: + for consumer in consumer_list: if consumer["Host"] == recconsumer: contains = True