罗俊辉 1 рік тому
батько
коміт
2ac01a83c2
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      deal/matchArticle_deal.py

+ 1 - 1
deal/matchArticle_deal.py

@@ -47,7 +47,7 @@ class MatchArticlesTask(object):
             """
             w_response = whisper(video_id)
             print(w_response)
-            text = w_response['text']
+            text = w_response['text'].replace("'", "")
             update_sql = f"""
             UPDATE {db_config}
             SET