srslte_common: fix condition to check if KPI have already extracted

Change-Id: I6fdcbfadfdcfe131096d0345d2c21c87f8f7b1b6
This commit is contained in:
Andre Puschmann 2021-03-16 16:44:20 +01:00 committed by Pau Espin Pedrol
parent f69b948148
commit 67ab78b331
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class srslte_common(): # don't inherit from log.Origin here but instead use .nam
''' Use the srsLTE KPI analyzer module (part of srsLTE.git) if available to collect KPIs '''
# Make sure this only runs once
if self.csv_kpi is not None or self.log_kpi is not None or self.stdout_kpi is not None:
if self.csv_kpi is not None and self.log_kpi is not None and self.stdout_kpi is not None:
return
# Start with empty KPIs