fix: incoherent logic
parent
0df86d1a25
commit
c581ea4c4c
|
@ -75,7 +75,7 @@ class Ranking():
|
|||
def compute(self):
|
||||
self.logger.info('Start ranking')
|
||||
set_running(self.__class__.__name__)
|
||||
if self.asn_meta.exists('v4|last') and self.asn_meta.exists('v6|last'):
|
||||
if not self.asn_meta.exists('v4|last') or not self.asn_meta.exists('v6|last'):
|
||||
'''Failsafe if asn_meta has not been populated yet'''
|
||||
unset_running(self.__class__.__name__)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue