Jelajahi Sumber

fix page add seo words

ming 3 tahun lalu
induk
melakukan
7e6bf6de82
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      similar_web/main.py

+ 1 - 1
similar_web/main.py

@@ -97,7 +97,7 @@ async def random_kw():
     statement = 'SELECT * FROM trending_searches order by rand() limit 20'
     statement = 'SELECT * FROM trending_searches order by rand() limit 20'
     logs = []
     logs = []
     for row in db.query(statement):
     for row in db.query(statement):
-        logs.append([{'kw':row['ts_word']}])
+        logs.append({'kw':row['ts_word']})
     return logs
     return logs