From 87217d121d6783bd52c4487663c8e32f5585acf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Wed, 1 Apr 2020 01:57:27 +0200 Subject: [PATCH] generate uuid --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 613bdb7..df67dbc 100644 --- a/app.py +++ b/app.py @@ -27,7 +27,7 @@ KNOWNCONSUMER = os.getenv("PRODUCER_KNOWNCONSUMER",'10.69.42.1') if __name__ == "__main__": LOGGER.info("Producer started") - generateduuid = str(uuid) + generateduuid = str(uuid.uuid4()) communicator = Communicator(currentconsumer=KNOWNCONSUMER, uuid=generateduuid) LOGGER.debug(f"My uuid is {generateduuid}") consumerlocator = ConsumerLocator(uuid=generateduuid, communicator=communicator)