aboutsummaryrefslogtreecommitdiff
path: root/tools/cru-py/cru/service
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-11-11 01:12:29 +0800
committerYuqian Yang <crupest@crupest.life>2024-12-18 18:31:27 +0800
commiteff33fcbc8e78b1cd15332c229cd39ae9befbe5e (patch)
tree1c83d262c79a15a06b5a02ce3276af0e8130c513 /tools/cru-py/cru/service
parentf35afa17a47fa8e0cafbff5956feab64adb503be (diff)
downloadcrupest-eff33fcbc8e78b1cd15332c229cd39ae9befbe5e.tar.gz
crupest-eff33fcbc8e78b1cd15332c229cd39ae9befbe5e.tar.bz2
crupest-eff33fcbc8e78b1cd15332c229cd39ae9befbe5e.zip
HALF WORK: 2024.11.11
Diffstat (limited to 'tools/cru-py/cru/service')
-rw-r--r--tools/cru-py/cru/service/nginx.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/cru-py/cru/service/nginx.py b/tools/cru-py/cru/service/nginx.py
index 9298623..f9120de 100644
--- a/tools/cru-py/cru/service/nginx.py
+++ b/tools/cru-py/cru/service/nginx.py
@@ -1,9 +1,10 @@
-from typing import Literal, Any, cast, ClassVar
+import json
import os
-from os.path import join, basename, dirname
-import subprocess
import re
-import json
+import subprocess
+from os.path import join, basename, dirname
+from typing import Literal, Any, cast, ClassVar
+
import jsonschema
from crupest.template2 import Template2