07:54
This commit is contained in:
@@ -312,7 +312,7 @@ async def main():
|
|||||||
if dev_id is not None and status_val == "active" and isinstance(desired_slug, str) and isinstance(tag_slugs, set):
|
if dev_id is not None and status_val == "active" and isinstance(desired_slug, str) and isinstance(tag_slugs, set):
|
||||||
if desired_slug in tag_slugs:
|
if desired_slug in tag_slugs:
|
||||||
# Beep to draw attention
|
# Beep to draw attention
|
||||||
bell_prefix = "\a"
|
bell_prefix = "\a" * 5
|
||||||
action_suffix = f" action=ok, i'm ready to schedule this device {host if host else dev_id} upgrade"
|
action_suffix = f" action=ok, i'm ready to schedule this device {host if host else dev_id} upgrade"
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
await nb_problem(log_status, f"[{ts()}] nb: unexpected error mac={mac!r} err={e!r}")
|
await nb_problem(log_status, f"[{ts()}] nb: unexpected error mac={mac!r} err={e!r}")
|
||||||
|
|||||||
Reference in New Issue
Block a user