mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-23 06:52:07 +08:00
DragonCachedSource does not use utf8
This commit is contained in:
@@ -74,7 +74,7 @@ def fingerprint(logcan, sendcan, has_relay):
|
||||
|
||||
dragon_has_cache = False
|
||||
if dragon_cache_car == "1":
|
||||
cached_source = params.get("DragonCachedSource", encoding='utf8')
|
||||
cached_source = params.get("DragonCachedSource")
|
||||
|
||||
dragon_source = car.CarParams.FingerprintSource.can if cached_source == "" else pickle.loads(cached_source)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user