fix: [trackers] typo

This commit is contained in:
Terrtia 2020-08-18 21:42:30 +02:00
parent 5a1e75e0f5
commit 6e8f76da61
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -41,7 +41,7 @@ def get_email_subject(tracker_uuid):
return 'AIL framework: {}'.format(tracker_description)
def get_tracker_last_updated_by_type(tracker_type):
epoch_update = r_serv_tracker.get('tracker:refresh:{}'.format(term_type))
epoch_update = r_serv_tracker.get('tracker:refresh:{}'.format(tracker_type))
if not epoch_update:
epoch_update = 0
return float(epoch_update)