mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-04 04:52:09 +08:00
test_fw_query_on_routes: find first non-none path (#25628)
find first non-none path old-commit-hash: bd9966c4777a7b4393d65cc0f62d726a9fdf1ff1
This commit is contained in:
@@ -56,7 +56,7 @@ if __name__ == "__main__":
|
||||
qlog_path = f"cd:/{dongle_id}/{time}/0/qlog.bz2"
|
||||
else:
|
||||
route = Route(route)
|
||||
qlog_path = route.qlog_paths()[0]
|
||||
qlog_path = next((p for p in route.qlog_paths() if p is not None), None)
|
||||
|
||||
if qlog_path is None:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user