Your Name 3 éve
szülő
commit
491b13362a
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      monitor/hhh_404_manager.py

+ 1 - 1
monitor/hhh_404_manager.py

@@ -13,7 +13,7 @@ db = dataset.connect('mysql://hhh7796hhh:lYmWsu^ujcA1@hhh-v57.cmab1ctkglka.ap-no
 cursor=db.query('SELECT hcolumn_id FROM xoops._hcolumn where onoff>0 order by rand()  limit 1;')
 for c in cursor:
     print(c['hcolumn_id'])
-    os.system('python3 hhh_404.py https://hhh.com.tw/columns/detail/'+c['hcolumn_id']+'/')
+    os.system('python3 hhh_404.py https://hhh.com.tw/columns/detail/'+str(c['hcolumn_id'])+'/')