From c90125944add3b1d538f114710205009c7316be5 Mon Sep 17 00:00:00 2001 From: Normanras <44226464+Normanras@users.noreply.github.com> Date: Wed, 20 Dec 2023 17:17:24 -0500 Subject: [PATCH] Updated the keys and nonkeys while statement to actually work. Previous commit had the wrong file.... --- bot-gpt-song-inspiration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot-gpt-song-inspiration.py b/bot-gpt-song-inspiration.py index 791d216..b0dc472 100644 --- a/bot-gpt-song-inspiration.py +++ b/bot-gpt-song-inspiration.py @@ -40,8 +40,8 @@ async def gather_key(): key = random.choice(KEYS) + random.choice(SIGN) while key in NONKEYS: key = random.choice(KEYS) + random.choice(SIGN) + else: return key - return key async def gather_theme():