Update app.py
Browse files
app.py
CHANGED
@@ -266,6 +266,7 @@ def format_comment(self, comment: Comment, index: int) -> str:
|
|
266 |
f'"Упоминания: {mentions_str}" '
|
267 |
f'"Хэштеги: {hashtags_str}"'
|
268 |
)
|
|
|
269 |
except Exception as e:
|
270 |
logger.error(f"Error formatting comment: {str(e)}")
|
271 |
return f'{index}. "[ОШИБКА ФОРМАТИРОВАНИЯ]"'
|
|
|
266 |
f'"Упоминания: {mentions_str}" '
|
267 |
f'"Хэштеги: {hashtags_str}"'
|
268 |
)
|
269 |
+
|
270 |
except Exception as e:
|
271 |
logger.error(f"Error formatting comment: {str(e)}")
|
272 |
return f'{index}. "[ОШИБКА ФОРМАТИРОВАНИЯ]"'
|