From cbb42524412350f19816b524c15904c9a98acc9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Mon, 15 Jul 2019 20:44:37 +0300 Subject: [PATCH] Send a status request when doing /status even if we have a cached value, in case it is out of date --- ethermess.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ethermess.py b/ethermess.py index cb57cda..9f4b18b 100644 --- a/ethermess.py +++ b/ethermess.py @@ -182,8 +182,7 @@ def handle_user_command(backend, line): mac = mac_from_name(rest) if mac in peers: print('=== ~%s (%s) [%s]' % (peers[mac].nick, peers[mac].status.name, format_mac(mac))) - else: - send_status_request(backend, mac) + send_status_request(backend, mac) else: # List all the known peers