worker: Removed trailing \n
This commit is contained in:
@@ -47,6 +47,8 @@ def tlsa():
|
|||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
return jsonify({'error': 'TLSA record not found', 'success': 'false'})
|
return jsonify({'error': 'TLSA record not found', 'success': 'false'})
|
||||||
|
|
||||||
|
# Remove newlines
|
||||||
|
tlsa = tlsa.replace('\n', '')
|
||||||
return jsonify({'domain': domain, 'tlsa': tlsa})
|
return jsonify({'domain': domain, 'tlsa': tlsa})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user