parent
							
								
									788d3dfe41
								
							
						
					
					
						commit
						9e17678094
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -1205,6 +1205,8 @@ class RedisModel(BaseModel, abc.ABC, metaclass=ModelMeta):
 | 
				
			||||||
        offset = 1  # The first item is the count of total matches.
 | 
					        offset = 1  # The first item is the count of total matches.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        for i in range(1, len(res), step):
 | 
					        for i in range(1, len(res), step):
 | 
				
			||||||
 | 
					            if res[i + offset] is None:
 | 
				
			||||||
 | 
					                continue
 | 
				
			||||||
            fields = dict(
 | 
					            fields = dict(
 | 
				
			||||||
                zip(
 | 
					                zip(
 | 
				
			||||||
                    map(to_string, res[i + offset][::2]),
 | 
					                    map(to_string, res[i + offset][::2]),
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue