罗俊辉 před 1 rokem
rodič
revize
2ac01a83c2
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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