mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-05 13:32:05 +08:00
LogReader: remove redirect message for internal data (#31088)
fix logging old-commit-hash: 0234cadec3aefdca2e71c251ff6f8885a247c34a
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import logging
|
||||
import os
|
||||
import time
|
||||
import threading
|
||||
@@ -12,6 +13,7 @@ from openpilot.system.hardware.hw import Paths
|
||||
K = 1000
|
||||
CHUNK_SIZE = 1000 * K
|
||||
|
||||
logging.getLogger("urllib3").setLevel(logging.WARNING)
|
||||
|
||||
def hash_256(link):
|
||||
hsh = str(sha256((link.split("?")[0]).encode('utf-8')).hexdigest())
|
||||
|
||||
Reference in New Issue
Block a user