This commit is contained in:
monosans
2024-03-01 07:28:43 +03:00
parent 2de104df7d
commit dbdf5b84be
+3 -5
View File
@@ -272,10 +272,8 @@ class Settings:
else Path(cfg["output"]["path"])
)
output_path_task = asyncio.create_task(
fs.async_create_or_fix_dir(
output_path, permission=stat.S_IXUSR | stat.S_IWUSR
)
output_path_future = fs.async_create_or_fix_dir(
output_path, permission=stat.S_IXUSR | stat.S_IWUSR
)
check_website_type, real_ip = await _get_check_website_type_and_real_ip(
@@ -293,7 +291,7 @@ class Settings:
permission=stat.S_IRUSR | stat.S_IXUSR | stat.S_IWUSR,
)
await output_path_task
await output_path_future
return cls(
check_website=cfg["check_website"],