Skip to content

Commit

Permalink
Check for video_privacy being none specifically
Browse files Browse the repository at this point in the history
  • Loading branch information
edk0 committed Jun 4, 2024
1 parent 637f3d7 commit 6499dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/schedule/feeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _format_event_description(event):
if event["map_link"]:
venue_str = f'{venue_str} ({event["map_link"]})'
footer_block.append(f'Venue: {venue_str}')
if event["type"] in ("talk", "lightningtalk", "performance") and event["video_privacy"] != "public":
if event["type"] in ("talk", "lightningtalk", "performance") and event["video_privacy"] == "none":
footer_block.append(f'This {HUMAN_CFP_TYPES[event["type"]]} will not be recorded.')
if footer_block:
description += '\n\n' + '\n'.join(footer_block)
Expand Down

0 comments on commit 6499dbb

Please sign in to comment.