This commit is contained in:
dosangyoon
2022-02-02 15:59:58 +09:00
parent cf30ea6583
commit f7e09b32f7
4 changed files with 6 additions and 4 deletions

View File

@@ -240,7 +240,7 @@ class MetaCrawler:
create_key = "CREATE INDEX IF NOT EXISTS "+tableName+"_idx on "+tableName+" (ymd) "
cursor.execute(create_key)
cursor.execute('SELECT * FROM ' + tableName + ' order by ymd desc')
cursor.execute('SELECT ymd FROM ' + tableName + ' order by ymd desc')
result = cursor.fetchone()
if result == None:
lastDay = "1900.01.01"