ezKit 2.0.1__tar.gz → 2.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ezkit-2.0.1/ezKit.egg-info → ezkit-2.0.2}/PKG-INFO +1 -1
- {ezkit-2.0.1 → ezkit-2.0.2}/ezKit/utils.py +3 -1
- {ezkit-2.0.1 → ezkit-2.0.2/ezKit.egg-info}/PKG-INFO +1 -1
- {ezkit-2.0.1 → ezkit-2.0.2}/setup.py +1 -1
- {ezkit-2.0.1 → ezkit-2.0.2}/LICENSE +0 -0
- {ezkit-2.0.1 → ezkit-2.0.2}/MANIFEST.in +0 -0
- {ezkit-2.0.1 → ezkit-2.0.2}/README.md +0 -0
- {ezkit-2.0.1 → ezkit-2.0.2}/ezKit/__init__.py +0 -0
- {ezkit-2.0.1 → ezkit-2.0.2}/ezKit/database.py +0 -0
- {ezkit-2.0.1 → ezkit-2.0.2}/ezKit/http.py +0 -0
- {ezkit-2.0.1 → ezkit-2.0.2}/ezKit.egg-info/SOURCES.txt +0 -0
- {ezkit-2.0.1 → ezkit-2.0.2}/ezKit.egg-info/dependency_links.txt +0 -0
- {ezkit-2.0.1 → ezkit-2.0.2}/ezKit.egg-info/requires.txt +0 -0
- {ezkit-2.0.1 → ezkit-2.0.2}/ezKit.egg-info/top_level.txt +0 -0
- {ezkit-2.0.1 → ezkit-2.0.2}/pyproject.toml +0 -0
- {ezkit-2.0.1 → ezkit-2.0.2}/setup.cfg +0 -0
|
@@ -22,7 +22,9 @@ def load_toml_file(file: str) -> dict:
|
|
|
22
22
|
|
|
23
23
|
logger.info(f"{info} [ start ]")
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
# 不要加 encoding="utf-8" 参数, 否则会报错:
|
|
26
|
+
# binary mode doesn't take an encoding argument
|
|
27
|
+
with open(file, "rb") as _file:
|
|
26
28
|
config = tomllib.load(_file)
|
|
27
29
|
|
|
28
30
|
logger.success(f"{info} [ success ]")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|