From 8686bfcafe7db7bb5f3ec39de18562de2da98575 Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 8 Jan 2025 14:20:14 -0800 Subject: [PATCH] Update sweebridge.py --- sweebridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweebridge.py b/sweebridge.py index 8bf3470..d649c87 100644 --- a/sweebridge.py +++ b/sweebridge.py @@ -115,7 +115,7 @@ def parse_content(text:str, platform:int, target:str): # Links workaround for Guilded temp = "" parsed = text.split(" ") - for index, i in parsed.enumerate(): + for index, i in enumerate(parsed): if "http://" in i or "https://" in i: parsed[index] = f"[{i}]({i})" temp = " ".join(parsed)