|  |  | @ -128,7 +128,7 @@ async def main(): | 
			
		
	
		
		
			
				
					
					|  |  |  |         if next_update < datetime.now(): |  |  |  |         if next_update < datetime.now(): | 
			
		
	
		
		
			
				
					
					|  |  |  |             # refresh url cache |  |  |  |             # refresh url cache | 
			
		
	
		
		
			
				
					
					|  |  |  |             cache_state = await matrix.room_get_state_event(room_id=admin_room, |  |  |  |             cache_state = await matrix.room_get_state_event(room_id=admin_room, | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                             event_type=cache_event_type+'cache', |  |  |  |                                                             event_type=cache_event_type, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                                                             state_key=category) |  |  |  |                                                             state_key=category) | 
			
		
	
		
		
			
				
					
					|  |  |  |             if hasattr(cache_state, 'content') and 'url_list' in cache_state.content: |  |  |  |             if hasattr(cache_state, 'content') and 'url_list' in cache_state.content: | 
			
		
	
		
		
			
				
					
					|  |  |  |                 cache = cache_state.content['url_list'] |  |  |  |                 cache = cache_state.content['url_list'] | 
			
		
	
	
		
		
			
				
					|  |  | 
 |