Skip to content

Commit

Permalink
fix: [wifiscan] include all files
Browse files Browse the repository at this point in the history
  • Loading branch information
cvandeplas committed May 1, 2024
1 parent d55511a commit d5b5dd8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions parsers/wifiscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@


def get_log_files(log_root_path: str) -> list:
log_files = [
"WiFi/wifi_scan.txt"
log_files_globs = [
'WiFi/wifi_scan*.txt'
]
log_files = []
for log_files_glob in log_files_globs:
log_files.extend(glob.glob(os.path.join(log_root_path, log_files_glob)))

return [os.path.join(log_root_path, log_files) for log_files in log_files]
return log_files


def parsewifiscan(wifi_data: list):
Expand Down

0 comments on commit d5b5dd8

Please sign in to comment.