From 75b5b296a5d7fa1f14a104252116e89b585bb795 Mon Sep 17 00:00:00 2001 From: Nex Date: Thu, 16 Sep 2021 10:44:39 +0200 Subject: [PATCH] Added check for indicators (closes: #189) --- mvt/ios/modules/mixed/locationd.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mvt/ios/modules/mixed/locationd.py b/mvt/ios/modules/mixed/locationd.py index c2c5dfa..64f9458 100644 --- a/mvt/ios/modules/mixed/locationd.py +++ b/mvt/ios/modules/mixed/locationd.py @@ -52,6 +52,9 @@ class LocationdClients(IOSExtraction): return records def check_indicators(self): + if not self.indicators: + return + for result in self.results: parts = result["package"].split("/") proc_name = parts[len(parts)-1]