Skip to content

Commit

Permalink
Fix date being wrong
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Luu <[email protected]>
  • Loading branch information
RyanLua authored Aug 6, 2024
1 parent c576ed3 commit 6d6ed4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/instawebhooks/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ async def check_for_new_posts():
Instaloader().context, args.instagram_username
).get_posts()

since = datetime.now() - timedelta(seconds=args.refresh_interval)
until = datetime.now()
since = datetime.now()
until = datetime.now() - timedelta(seconds=args.refresh_interval)

new_posts_found = False

Expand Down

0 comments on commit 6d6ed4e

Please sign in to comment.