From 1b335fda1d6a73acf96281dda1f899fdfeae8857 Mon Sep 17 00:00:00 2001 From: Nex Date: Tue, 1 Feb 2022 15:07:43 +0100 Subject: [PATCH] Renamed function argument to more descriptive --- mvt/android/modules/adb/files.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mvt/android/modules/adb/files.py b/mvt/android/modules/adb/files.py index 3964ffb..dfcb74f 100644 --- a/mvt/android/modules/adb/files.py +++ b/mvt/android/modules/adb/files.py @@ -24,9 +24,9 @@ class Files(AndroidExtraction): log=log, results=results) self.full_find = False - def find_files(self, file_path): + def find_files(self, folder): if self.full_find: - output = self._adb_command(f"find '{file_path}' -printf '%T@ %m %s %u %g %p\n' 2> /dev/null") + output = self._adb_command(f"find '{folder}' -printf '%T@ %m %s %u %g %p\n' 2> /dev/null") for file_line in output.splitlines(): [unix_timestamp, mode, size, owner, group, full_path] = file_line.rstrip().split(" ", 5) @@ -42,7 +42,7 @@ class Files(AndroidExtraction): "group": group, }) else: - output = self._adb_command(f"find '{file_path}' 2> /dev/null") + output = self._adb_command(f"find '{folder}' 2> /dev/null") for file_line in output.splitlines(): self.results.append({"path": file_line.rstrip()})