LGTM fixes

This commit is contained in:
Khanh Ngo
2019-12-16 16:27:18 +07:00
parent f5b88ebc73
commit 3e961d7b21
3 changed files with 1 additions and 3 deletions

View File

@ -57,7 +57,7 @@ class Record(object):
current_app.logger.error(
"Cannot fetch domain's record data from remote powerdns api. DETAIL: {0}"
.format(e))
return False
return []
return jdata['rrsets']