Skip to content

Commit

Permalink
Update fatalement_bot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dianedelallee authored Mar 5, 2021
1 parent a7db46e commit 89edea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/fatalement_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def _tweet_article(api, version, link):


def get_new_version():
previous_hour = datetime.today() - timedelta(hours=1)
previous_hour = datetime.today() - timedelta(hours=6)
response = requests.get("https://api.github.com/repos/dianedelallee/artemis/releases/latest")
publication_date = datetime.strptime(response.json()['published_at'], '%Y-%m-%dT%H:%M:%SZ')

Expand Down

0 comments on commit 89edea6

Please sign in to comment.