mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-10 20:02:13 +08:00
fix fingerprint script
old-commit-hash: 9a9e4ba45e000bbc496eeb624961a38ba833f708
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
# type: ignore
|
||||
|
||||
import sys
|
||||
from tools.lib.route import Route
|
||||
from tools.lib.logreader import MultiLogIterator
|
||||
from xx.chffr.lib.route import Route # pylint: disable=import-error
|
||||
|
||||
|
||||
def get_fingerprint(lr):
|
||||
@@ -28,7 +27,6 @@ if __name__ == "__main__":
|
||||
print("Usage: ./get_fingerprint_internal.py <route>")
|
||||
sys.exit(1)
|
||||
|
||||
route = sys.argv[1]
|
||||
route = Route(route)
|
||||
route = Route(sys.argv[1])
|
||||
lr = MultiLogIterator(route.log_paths()[:5], wraparound=False)
|
||||
get_fingerprint(lr)
|
||||
|
||||
Reference in New Issue
Block a user