worker: Fixed list
This commit is contained in:
parent
01ad92442f
commit
aa99339d4f
@ -48,7 +48,7 @@ def tlsa():
|
|||||||
return jsonify({'error': 'TLSA record not found', 'success': 'false'})
|
return jsonify({'error': 'TLSA record not found', 'success': 'false'})
|
||||||
|
|
||||||
# Remove newlines
|
# Remove newlines
|
||||||
tlsa = tlsa.replace('\n', '')
|
tlsa = tlsa[0].strip('\n')
|
||||||
return jsonify({'domain': domain, 'tlsa': tlsa})
|
return jsonify({'domain': domain, 'tlsa': tlsa})
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user