Skip to content

Commit

Permalink
Mark more recent but still old data also suspicious
Browse files Browse the repository at this point in the history
  • Loading branch information
153957 committed Mar 2, 2024
1 parent 4651eea commit 8e17b4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wsgi/wsgi_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ def is_data_suspicious(event_list):
"""
for event in event_list:
if event['header']['datetime'].year < 2013:
logger.debug('Date < 2013: Timestamp has high suspiciousness.')
if event['header']['datetime'].year < 2019:
logger.debug('Date < 2019: Timestamp has high suspiciousness.')
return True
if event['header']['datetime'].date() == datetime.date(2019, 4, 7):
logger.debug('Date == Apr 7, 2019: No GPS signal?')
Expand Down

0 comments on commit 8e17b4f

Please sign in to comment.