mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 03:52:11 +08:00
remove debug prints
old-commit-hash: 2372f4d6db1591f64def061dd66038d59e61046e
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user