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)