mirror of
https://github.com/snailyp/gemini-balance.git
synced 2026-09-04 23:19:17 +08:00
style(log): 整理导入语句
This commit is contained in:
+1
-1
@@ -3,6 +3,7 @@ import platform
|
|||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
from typing import Dict, Optional
|
from typing import Dict, Optional
|
||||||
|
from app.utils.helpers import redact_key_for_logging as _redact_key_for_logging
|
||||||
|
|
||||||
# ANSI转义序列颜色代码
|
# ANSI转义序列颜色代码
|
||||||
COLORS = {
|
COLORS = {
|
||||||
@@ -14,7 +15,6 @@ COLORS = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
from app.utils.helpers import redact_key_for_logging as _redact_key_for_logging
|
|
||||||
|
|
||||||
# Windows系统启用ANSI支持
|
# Windows系统启用ANSI支持
|
||||||
if platform.system() == "Windows":
|
if platform.system() == "Windows":
|
||||||
|
|||||||
Reference in New Issue
Block a user