Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 30, 2023
1 parent 33d6434 commit 3f31def
Show file tree
Hide file tree
Showing 2 changed files with 361 additions and 330 deletions.
2 changes: 1 addition & 1 deletion discord_twitter_webhooks/send_to_discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def send_embed(entry: Entry | EntryLike, group: Group) -> None:
# Only do this if more than one image is found
if len(embeds) > 1:
embeds.insert(0, embed)
webhook = DiscordWebhook(url=entry_link, embeds=embeds, rate_limit_retry=True) # type: ignore # noqa: PGH003, E501
webhook = DiscordWebhook(url=entry_link, embeds=embeds, rate_limit_retry=True) # type: ignore # noqa: PGH003
else:
if embeds[0].image:
image = embeds[0].image
Expand Down
Loading

0 comments on commit 3f31def

Please sign in to comment.