Skip to content

Commit

Permalink
Print out something when there are no new posts
Browse files Browse the repository at this point in the history
  • Loading branch information
bruvellu committed Nov 10, 2024
1 parent 8937236 commit 0975efe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions evodevo/bot/management/commands/publishpost.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ def handle(self, *args, **options):
self.stdout.write(f'{post.text}')
self.stdout.write(f'{post.url}')

else:
self.stdout.write(f'No new posts to publish!')

0 comments on commit 0975efe

Please sign in to comment.