From c87ffee71db17b1d1a4dff1beaf97c1feb6e8d19 Mon Sep 17 00:00:00 2001 From: Migatu Date: Fri, 5 Apr 2024 23:27:38 +0200 Subject: [PATCH] As --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index a372450..47fe6f7 100644 --- a/bot.py +++ b/bot.py @@ -1188,7 +1188,7 @@ async def wyszukaj(ctx, how_many=0, slowa_kluczowe=None): else: word_list = ctx.message.content.split() logger.info("Wyszukuje") - jrequest = {"lista_slow" : word_list, "dlugosc_plejlisty" : how_many, "UUID": uuid.uuid4()} + jrequest = {"lista_slow" : word_list, "dlugosc_plejlisty" : how_many, "UUID": str(uuid.uuid4())} coroutine = asyncio.to_thread(requests.post, f"{FILE_SERVICE_ADDRESS}{GET_PLAYLIST}", json=jrequest, timeout=360) return_data = await coroutine if not return_data.status_code == 200: