mirror of
https://github.com/mvt-project/mvt.git
synced 2026-09-26 19:21:46 +02:00
Fixed variable name
This commit is contained in:
@@ -23,12 +23,12 @@ class DumpsysFull(AndroidExtraction):
|
|||||||
def run(self):
|
def run(self):
|
||||||
self._adb_connect()
|
self._adb_connect()
|
||||||
|
|
||||||
stats = self._adb_command("dumpsys")
|
output = self._adb_command("dumpsys")
|
||||||
if self.output_folder:
|
if self.output_folder:
|
||||||
stats_path = os.path.join(self.output_folder, "dumpsys.txt")
|
output_path = os.path.join(self.output_folder, "dumpsys.txt")
|
||||||
with open(stats_path, "w", encoding="utf-8") as handle:
|
with open(output_path, "w", encoding="utf-8") as handle:
|
||||||
handle.write(stats)
|
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()
|
self._adb_disconnect()
|
||||||
|
|||||||
Reference in New Issue
Block a user