From 44898933335bb925905a1499ee2faf39b1cbf3a6 Mon Sep 17 00:00:00 2001 From: Benjamin Loison Date: Fri, 28 Jun 2024 19:36:17 +0200 Subject: [PATCH] Make `matrix-commander --get-devices` work despite *last seen date* being `None` See https://github.com/Benjamin-Loison/matrix-commander/issues/18 for details. --- matrix_commander/matrix_commander.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_commander/matrix_commander.py b/matrix_commander/matrix_commander.py index b7a3f41..3fbb62b 100755 --- a/matrix_commander/matrix_commander.py +++ b/matrix_commander/matrix_commander.py @@ -4916,7 +4916,7 @@ async def action_devices(client: AsyncClient, credentials: dict) -> None: + SEP + rr.display_name + SEP - + rr.last_seen_ip + + str(rr.last_seen_ip) + SEP + str(rr.last_seen_date) + "\n"