|
@@ -64,7 +64,7 @@ class Searchkey:
|
|
# cls.get_search_key(log_type, crawler)
|
|
# cls.get_search_key(log_type, crawler)
|
|
else:
|
|
else:
|
|
# 获取最新的 chlsfile
|
|
# 获取最新的 chlsfile
|
|
- chlsfile = chlsfile_list[-1]
|
|
|
|
|
|
+ chlsfile = sorted(chlsfile_list)[-1]
|
|
# 分离文件名与扩展名
|
|
# 分离文件名与扩展名
|
|
new_file = os.path.splitext(chlsfile)
|
|
new_file = os.path.splitext(chlsfile)
|
|
|
|
|