Skip to content

Commit

Permalink
fix timedelta
Browse files Browse the repository at this point in the history
  • Loading branch information
TideDra committed Nov 24, 2024
1 parent 07297f4 commit 9d77aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def _format_addr(s):
assert args.zotero_key is not None
assert args.arxiv_query is not None
today = datetime.datetime.now(tz=datetime.timezone.utc).replace(hour=0, minute=0, second=0, microsecond=0)
yesterday = today - datetime.timedelta(days=2)
yesterday = today - datetime.timedelta(days=1)
print("Retrieving Zotero corpus...")
corpus = get_zotero_corpus(args.zotero_id, args.zotero_key)
print("Retrieving Arxiv papers...")
Expand Down

0 comments on commit 9d77aca

Please sign in to comment.