소스 검색

역링크 남은 문서수 표시

Surplus_Up (2DU) 6 년 전
부모
커밋
06b4f60dbf
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      emergency_tool.py

+ 10 - 0
emergency_tool.py

@@ -1,3 +1,4 @@
+import time
 from route.tool.func import *
 
 version_list = json.loads(open('version.json').read())
@@ -231,8 +232,17 @@ if what_i_do == '1':
 
     num = 0
 
+    print('----')
+    print('Load...')
+
     curs.execute(db_change("select title from data d where not exists (select title from back where link = d.title)"))
     title = curs.fetchall()
+
+    print('----')
+    print('Rest : ' + str(len(title)))
+    time.sleep(1)
+    print('----')
+
     for name in title:
         num += 1
         if num % go_num == 0: