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})