Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinou01 committed Aug 16, 2023
1 parent 6dc2d5c commit fd6fd58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/reddit_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ def _remove_submissions_not_on_date(
) -> list[dict]:
"""Removes submissions not made on date"""
return [
submission for submission in submissions
submission
for submission in submissions
if datetime.utcfromtimestamp(submission["created_utc"]).date() == date
]


def fetch_submissions_made_on_date(self, subreddit: str, date: Date) -> list[dict]:
posts_made_on_date = []
last_post_id = None
Expand Down

0 comments on commit fd6fd58

Please sign in to comment.