diff --git a/worker/main.py b/worker/main.py index 52360af..e12e23c 100644 --- a/worker/main.py +++ b/worker/main.py @@ -47,6 +47,8 @@ def tlsa(): except FileNotFoundError: return jsonify({'error': 'TLSA record not found', 'success': 'false'}) + # Remove newlines + tlsa = tlsa.replace('\n', '') return jsonify({'domain': domain, 'tlsa': tlsa})