refactor: 移除未使用的导入

- 从 main.py 中移除了未使用的 CertbotConfigurator 导入
- 从 src/certbot.py 中移除了未使用的 punycode 导入
This commit is contained in:
ZZY 2025-05-25 16:13:53 +08:00
parent dc052329cb
commit df278b5993
2 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,7 @@ import argparse
from pathlib import Path
import yaml
from src.certbot import CertbotConfigurator, parse_certbot, register_certbot
from src.certbot import parse_certbot, register_certbot
from src.logger import get_logger, run_cmd_with_log
from src.nginx import NginxConfig, NginxConfigurator
logger = get_logger(__name__)

View File

@ -2,7 +2,6 @@
Let's Encrypt 证书申请
"""
from argparse import ArgumentParser, Namespace
from encodings.punycode import T
import sys
from src.logger import get_logger, run_cmd_with_log
logger = get_logger(__name__)