Fix get_things_by_id not putting the results in cache.
This commit is contained in:
		
							parent
							
								
									7d8b8daeba
								
							
						
					
					
						commit
						31b808bd64
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1488,6 +1488,7 @@ class PhotoDB( | |||
|             more_things = self.sql_select(query, bindings) | ||||
|             for thing_row in more_things: | ||||
|                 thing = thing_map['class'](self, db_row=thing_row) | ||||
|                 thing_cache[thing.id] = thing | ||||
|                 yield thing | ||||
| 
 | ||||
|     def load_config(self): | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue