diff --git a/sites/fictionlive.py b/sites/fictionlive.py index a7d8fae..f8d54f2 100644 --- a/sites/fictionlive.py +++ b/sites/fictionlive.py @@ -55,6 +55,9 @@ class FictionLive(Site): if segment['nt'] == 'chapter': html.extend(('
', segment['b'].replace('
', '
'), '
')) elif segment['nt'] == 'choice': + if not 'votes' in segment: + # Somehow, sometime, we end up with a choice without votes (or choices) + continue votes = {} for vote in segment['votes']: votechoices = segment['votes'][vote]