Skip to content

Commit 1163211

Browse files
authored
Merge pull request #9 from RyanLua/fix-itertools
Fix posts not being found
2 parents c576ed3 + 6d6ed4e commit 1163211

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/instawebhooks/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ async def check_for_new_posts():
224224
Instaloader().context, args.instagram_username
225225
).get_posts()
226226

227-
since = datetime.now() - timedelta(seconds=args.refresh_interval)
228-
until = datetime.now()
227+
since = datetime.now()
228+
until = datetime.now() - timedelta(seconds=args.refresh_interval)
229229

230230
new_posts_found = False
231231

0 commit comments

Comments
 (0)