send uuid with message

This commit is contained in:
2020-04-17 16:59:35 +02:00
parent eff5f4191c
commit 03082b346d
2 changed files with 5 additions and 3 deletions

2
app.py
View File

@@ -40,7 +40,7 @@ if __name__ == "__main__":
communicator = Communicator(currentconsumer=KNOWNCONSUMER, uuid=generateduuid)
LOGGER.debug(f"My uuid is {generateduuid}")
consumerlocator = ConsumerLocator(uuid=generateduuid, communicator=communicator)
messagesender = MessageSender(communicator=communicator)
messagesender = MessageSender(communicator=communicator, uuid=generateduuid)
consumerlocator.learnconsumerlist()
while True: