remove debug prints

pull/23715/head
Adeeb Shihadeh 3 years ago
parent c05bff58b8
commit 2372f4d6db
  1. 1
      selfdrive/hardware/eon/androidd.py
  2. 1
      selfdrive/hardware/eon/shutdownd.py

@ -60,7 +60,6 @@ def main():
for m in msgs:
try:
if m.androidLog.tag == "NetworkPolicy" and m.androidLog.message.startswith("problem with advise persist threshold"):
print(m)
cloudlog.event("network policy exception caught", androidLog=m.androidLog, error=True)
except UnicodeDecodeError:
pass

@ -15,7 +15,6 @@ def main():
if prop is not None and len(prop) > 0:
os.system("pkill -9 loggerd")
params.put("LastSystemShutdown", f"'{prop}' {datetime.datetime.now()}")
print("shutdown detected", repr(prop))
time.sleep(120)
cloudlog.error('shutdown false positive')

Loading…
Cancel
Save