1
0
Fork 0
mirror of https://github.com/kemayo/leech synced 2025-12-25 17:54:26 +01:00

Appease flake8

This commit is contained in:
thegrinner 2019-10-03 17:48:45 -04:00
parent d0402daa7b
commit 4e4f16e7cc

View file

@ -55,7 +55,7 @@ class FictionLive(Site):
if segment['nt'] == 'chapter':
html.extend(('<div>', segment['b'].replace('<br>', '<br/>'), '</div>'))
elif segment['nt'] == 'choice':
if not 'votes' in segment:
if 'votes' not in segment:
# Somehow, sometime, we end up with a choice without votes (or choices)
continue
votes = {}