From c48a4e8f500b4b4574da5200a25c3ed325a84feb Mon Sep 17 00:00:00 2001 From: Nex Date: Sun, 30 Jan 2022 04:12:19 +0100 Subject: [PATCH] Fixed variable name --- mvt/android/modules/adb/dumpsys_full.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mvt/android/modules/adb/dumpsys_full.py b/mvt/android/modules/adb/dumpsys_full.py index db0e40e..6c6c864 100644 --- a/mvt/android/modules/adb/dumpsys_full.py +++ b/mvt/android/modules/adb/dumpsys_full.py @@ -23,12 +23,12 @@ class DumpsysFull(AndroidExtraction): def run(self): self._adb_connect() - stats = self._adb_command("dumpsys") + output = self._adb_command("dumpsys") if self.output_folder: - stats_path = os.path.join(self.output_folder, "dumpsys.txt") - with open(stats_path, "w", encoding="utf-8") as handle: - handle.write(stats) + output_path = os.path.join(self.output_folder, "dumpsys.txt") + with open(output_path, "w", encoding="utf-8") as handle: + handle.write(output) - log.info("Full dumpsys output stored at %s", stats_path) + log.info("Full dumpsys output stored at %s", output_path) self._adb_disconnect()