From 4ed12051569eef4175f4f77e2dfb52298d82033f Mon Sep 17 00:00:00 2001 From: New Future Date: Thu, 18 Feb 2021 11:43:25 +0800 Subject: [PATCH] fix callback #222 (#224) --- dns/callback.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns/callback.py b/dns/callback.py index 57f55f6..3c0aa11 100644 --- a/dns/callback.py +++ b/dns/callback.py @@ -71,7 +71,7 @@ def request(method, action, param=None, **params): raise Exception(res) else: debug('%s : result:%s', action, res) - return data + return res def replace_params(domain, record_type, ip, params): """