Closed jahir-raihan closed 8 months ago
This exception was to handle when spf is not valid. But the the line spf_results['error'] = error.args[0].args[0] was causing error, because error.args[0] returns a string where a string doesn't have .args[0] method.
spf_results['error'] = error.args[0].args[0]
error.args[0]
.args[0]
Try to run kissonline.com , You'll get the invalid string method call error while handling another exception.
This exception was to handle when spf is not valid. But the the line
spf_results['error'] = error.args[0].args[0]
was causing error, becauseerror.args[0]
returns a string where a string doesn't have.args[0]
method.