@ -128,7 +128,7 @@ async def main():
if next_update < datetime.now():
# refresh url cache
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)
if hasattr(cache_state, 'content') and 'url_list' in cache_state.content:
cache = cache_state.content['url_list']