Update the other factory reset to use integer too

This commit is contained in:
Ian McEwen
2026-05-31 12:30:34 -07:00
parent c5fc51ea37
commit badf7279af
2 changed files with 4 additions and 4 deletions

View File

@@ -728,7 +728,7 @@ class Node:
self.ensureSessionKey()
p = admin_pb2.AdminMessage()
if full:
p.factory_reset_device = True
p.factory_reset_device = 1
logger.info(f"Telling node to factory reset (full device reset)")
else:
p.factory_reset_config = 1