Skip to content

Commit

Permalink
Cleaning code
Browse files Browse the repository at this point in the history
  • Loading branch information
geirawsm committed Jun 28, 2024
1 parent ea2b333 commit f8e1a0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sausage_bot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ async def get_version(interaction: discord.Interaction):
await interaction.response.defer(ephemeral=True)
version_in = file_io.read_json(envs.version_file)
await interaction.followup.send(
'Running the `{}` branch:\nLast run number: {}\n'
'Branch: {}\nLast run number: {}\n'
'Last commit: {}'.format(
version_in['BRANCH'],
version_in['LAST_RUN_NUMBER'],
Expand Down
5 changes: 4 additions & 1 deletion sausage_bot/cogs/rss.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,10 @@ async def post_feeds():
if "open.spotify.com/show/" in URL:
log.debug('Is a spotify-link')
FEED_POSTS = await net_io.get_spotify_podcast_links(feed)
log.debug(f'Got {len(FEED_POSTS)} items for `FEED_POSTS`: {FEED_POSTS}')
log.debug(
f'Got {len(FEED_POSTS)} items for `FEED_POSTS`: '
f'{FEED_POSTS}'
)
await feeds_core.process_links_for_posting_or_editing(
'spotify', UUID, FEED_POSTS, CHANNEL
)
Expand Down

0 comments on commit f8e1a0a

Please sign in to comment.