diff --git a/app/main.py b/app/main.py index 2aa2f4a..c062e4d 100644 --- a/app/main.py +++ b/app/main.py @@ -60,7 +60,7 @@ async def tg_intgr_get(request: Request): re.sub( r"((\[)(.*?)(]))", "", - re.sub('"', "", ' '.join(data_json["result"]["POST_MESSAGE"].split(" ")[:100])), + re.sub('"', "", data_json["result"]["POST_MESSAGE"]).split(" ")[:100], ) ) comment += f'\nот {data_json["result"]["AUTHOR_NAME"]}'