mirror of
https://github.com/TriM-Organization/Linglun-Converter.git
synced 2025-09-06 20:56:28 +00:00
提供检查更新模块,非常人性化
This commit is contained in:
18
utils/io.py
18
utils/io.py
@ -1,6 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
伶伦转换器 命令行组件
|
||||
Linglun Converter Command Line IO Component
|
||||
|
||||
版权所有 © 2023 金羿 & 睿穆开发组
|
||||
Copyright © 2023 EillesWan & TriM Org.
|
||||
|
||||
开源相关声明请见 ./License.md
|
||||
Terms & Conditions: ./Lisense.md
|
||||
"""
|
||||
|
||||
|
||||
import urllib.error
|
||||
import urllib.request
|
||||
from typing import Any, Callable, Dict, List, Literal, Optional, Set, TextIO, Tuple
|
||||
from typing import Any, Callable, Dict, List, Literal, Optional, Set, TextIO, Tuple, Iterable, Sequence
|
||||
|
||||
import TrimLog
|
||||
from TrimLog import Console, object_constants
|
||||
@ -11,7 +25,7 @@ MainConsole = Console()
|
||||
osc = object_constants.ObjectStateConstant()
|
||||
logger = TrimLog.Logger(
|
||||
is_logging=is_logging,
|
||||
printing=not osc.isRelease,
|
||||
# printing=not osc.is_release,
|
||||
in_suffix=".llc",
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user