From 01ad92442f0d9e902a0587bb9587189d529e6293 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Thu, 17 Aug 2023 13:52:23 +1000 Subject: [PATCH] worker: Removed trailing \n --- worker/main.py | 2 ++ 1 file changed, 2 insertions(+) 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})