Skip to content

Commit

Permalink
Increase time window for VRT NU version detection (#808)
Browse files Browse the repository at this point in the history
  • Loading branch information
mediaminister authored Aug 31, 2020
1 parent 18a93ec commit 09846c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/checkvrtnu.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def run():
info = google_play_info()
published = datetime.fromtimestamp(info.get('published'), dateutil.tz.UTC)
published_string = published.astimezone(dateutil.tz.gettz('Europe/Brussels')).strftime('%A %e %B %Y at %H:%M')
if published > datetime.now(dateutil.tz.UTC) - timedelta(hours=1):
if published > datetime.now(dateutil.tz.UTC) - timedelta(minutes=90):
message = 'VRT NU for Android is updated to version {} released on {}\nChangelog:\n {}'.format(
info.get('version'), published_string, info.get('changelog'))
raise NewVersionException(message)
Expand Down

0 comments on commit 09846c9

Please sign in to comment.