From bcdc5a923812dcd3511f0e676b55cd62a0ad9c79 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Thu, 12 Oct 2023 19:14:43 -0400 Subject: [PATCH] Specify Never --- configs/scripts/wg-handshakes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/scripts/wg-handshakes.py b/configs/scripts/wg-handshakes.py index 601ff0c..1dab4cd 100755 --- a/configs/scripts/wg-handshakes.py +++ b/configs/scripts/wg-handshakes.py @@ -99,7 +99,7 @@ def main() -> int: # Get the time of the last handshake last_handshake = datetime.fromtimestamp(int(values[4])) - time_ago = timeago.format(last_handshake, datetime.now()) + time_ago = timeago.format(last_handshake, datetime.now()) if values[4] != "0" else "Never" # Print the client's name and the time of the last handshake print(f"{name}: {time_ago}")