worker: Removed trailing \n
This commit is contained in:
parent
f72016332a
commit
01ad92442f
@ -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})
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user