From 15c1e6215424224c444270cce3a3416ec2277664 Mon Sep 17 00:00:00 2001 From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com> Date: Tue, 26 Mar 2024 13:02:26 +0530 Subject: [PATCH] ... --- recipes/himal_southasian.recipe | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/recipes/himal_southasian.recipe b/recipes/himal_southasian.recipe index 8b09f64d50..8efc9c9629 100644 --- a/recipes/himal_southasian.recipe +++ b/recipes/himal_southasian.recipe @@ -8,11 +8,8 @@ def get_story(story): yield '\n' + story['text'] elif str_type == 'image': yield ''.join(img(story)) - elif str_type == 'composite': - for x in story.get('story-elements', {}): - yield from get_story(x) elif 'story-elements' in story: - for x in story.get('story-elements', {}): + for x in story['story-elements']: yield from get_story(x) def img(img):