boompack commited on
Commit
d9d543a
·
verified ·
1 Parent(s): 627ed97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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