From 53ce7591f330a6c776fa89b413b2fc6ac9c2facd Mon Sep 17 00:00:00 2001 From: JrD <421273918@qq.com> Date: Thu, 17 Sep 2020 18:24:54 +0800 Subject: [PATCH] debug --- common/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/common/utils.py b/common/utils.py index afabe1d..d733e62 100644 --- a/common/utils.py +++ b/common/utils.py @@ -751,6 +751,7 @@ def ping_avg_time(nameserver): :param nameserver: :return: """ + check_dir(settings.temp_save_dir) temp_path = settings.temp_save_dir.joinpath('ping') ping(nameserver, path=temp_path) with open(temp_path, 'r')as f: