Skip to content

Commit

Permalink
wikipedia: address comment nit
Browse files Browse the repository at this point in the history
Co-authored-by: dgw <[email protected]>
  • Loading branch information
SnoopJ and dgw authored Nov 30, 2023
1 parent 64f28a2 commit eb829a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sopel/builtins/wikipedia.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def mw_info(bot, trigger, match=None):

if section:
if section.startswith('cite_note-'):
# Don't bother trying to retrieve a snippet when cite-note is linked
# Don't bother trying to retrieve a section snippet if cite-note is linked
say_snippet(bot, trigger, server, article, show_url=False)
elif section.startswith('/media'):
# gh2316: media fragments are usually images; try to get an image description
Expand Down

0 comments on commit eb829a3

Please sign in to comment.