mirror of
https://github.com/mvt-project/mvt.git
synced 2024-06-01 18:55:31 +00:00
Fixed variable name
This commit is contained in:
parent
001c2998a5
commit
c48a4e8f50
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user