diff options
| author | shihaoyue <[email protected]> | 2024-09-22 12:42:21 +0800 |
|---|---|---|
| committer | shihaoyue <[email protected]> | 2024-09-22 12:42:21 +0800 |
| commit | d5a8e188c7ca3a4fb9916152d5e360221b2b57b6 (patch) | |
| tree | 3c18622bf68670ea4152e4b51fb8a96f3c4e6c5a | |
| parent | 8f78fcd148a6f55a7ebb0501606cafe7a75df0c6 (diff) | |
修复目标错误
| -rw-r--r-- | server/apps/target.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/apps/target.py b/server/apps/target.py index ffd00f2..354da9c 100644 --- a/server/apps/target.py +++ b/server/apps/target.py @@ -738,7 +738,7 @@ def target_GZ(IP_addr): isp = data.get('org'), lat = float(data.get('loc').split(',')[0]), lng = float(data.get('loc').split(',')[1]), - protect = protect.text, + protect = json.loads(protect.text), doh_domain = None ) db.session.add(target) |
