From 48c41bb3dc9d0159740b0c8df951fe15fadb8294 Mon Sep 17 00:00:00 2001 From: DJ2LS Date: Sat, 26 Aug 2023 16:18:53 +0200 Subject: [PATCH] fixed wrong file name for tokenfile --- tnc/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tnc/helpers.py b/tnc/helpers.py index f894b574..870810bf 100644 --- a/tnc/helpers.py +++ b/tnc/helpers.py @@ -532,7 +532,7 @@ def get_hmac_salt(dxcallsign: bytes, mycallsign: bytes): def search_hmac_salt(dxcallsign: bytes, mycallsign: bytes, search_token, data_frame, token_iters): - filename = f"freedata_hmac_STATION_{dxcallsign.decode('utf-8')}_REMOTE_{mycallsign.decode('utf-8')}.txt" + filename = f"freedata_hmac_STATION_{mycallsign.decode('utf-8')}_REMOTE_{dxcallsign.decode('utf-8')}.txt" if sys.platform == "linux": filepath = './hmac/' + filename