|  | @@ -55,7 +55,7 @@ class CoverMethod:
 | 
	
		
			
				|  |  |              execution_time = end_time - start_time
 | 
	
		
			
				|  |  |              print(f"代码运行时间: {execution_time:.4f} 秒")
 | 
	
		
			
				|  |  |              highest_cover_url, highest_cover_sum = CoverMethod.cover_data_dispose(cover_all_data)  # 获取分数最高的视频封面
 | 
	
		
			
				|  |  | -            if not highest_cover_url:
 | 
	
		
			
				|  |  | +            if not highest_cover_url or not highest_cover_sum:
 | 
	
		
			
				|  |  |                  AliyunLogger.logging( video_id, "视频封面分数都为0,不做封面更改", "2002", cover_all_data)
 | 
	
		
			
				|  |  |                  text = (
 | 
	
		
			
				|  |  |                      f"**通知类型**: 视频封面分数都为0,不做封面更改\n"
 | 
	
	
		
			
				|  | @@ -66,7 +66,7 @@ class CoverMethod:
 | 
	
		
			
				|  |  |                                     "【 封面修改通知 】" )
 | 
	
		
			
				|  |  |                  return
 | 
	
		
			
				|  |  |              cover_id, old_cover_url = PQ.get_pq_cover_id(video_id)  # 获取原封面 和 封面ID
 | 
	
		
			
				|  |  | -            if cover_id == None:
 | 
	
		
			
				|  |  | +            if not cover_id:
 | 
	
		
			
				|  |  |                  AliyunLogger.logging( video_id, "获取视频原封面和封面ID失败", "3002", cover_all_data, old_cover_url, highest_cover_url)
 | 
	
		
			
				|  |  |                  insert_pq_data( [video_id] )
 | 
	
		
			
				|  |  |                  return
 | 
	
	
		
			
				|  | @@ -150,4 +150,4 @@ class CoverMethod:
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if __name__ == '__main__':
 | 
	
		
			
				|  |  | -    CoverMethod.cover_method("30488175")
 | 
	
		
			
				|  |  | +    CoverMethod.cover_method("30496823")
 |