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