From aa99339d4f9add0fd065f1b1e912a8019be650a9 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Thu, 17 Aug 2023 13:53:30 +1000 Subject: [PATCH] worker: Fixed list --- worker/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/main.py b/worker/main.py index e12e23c..f24852a 100644 --- a/worker/main.py +++ b/worker/main.py @@ -48,7 +48,7 @@ def tlsa(): return jsonify({'error': 'TLSA record not found', 'success': 'false'}) # Remove newlines - tlsa = tlsa.replace('\n', '') + tlsa = tlsa[0].strip('\n') return jsonify({'domain': domain, 'tlsa': tlsa})