将rtoml改为qtoml
This commit is contained in:
parent
1a5001312b
commit
cebf394e23
3
.vs/ProjectSettings.json
Normal file
3
.vs/ProjectSettings.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"CurrentProjectSetting": null
|
||||
}
|
7
.vs/VSWorkspaceState.json
Normal file
7
.vs/VSWorkspaceState.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"ExpandedNodes": [
|
||||
""
|
||||
],
|
||||
"SelectedNode": "\\.gitignore",
|
||||
"PreviewInSolutionExplorer": false
|
||||
}
|
BIN
.vs/python-bot/v17/.wsuo
Normal file
BIN
.vs/python-bot/v17/.wsuo
Normal file
Binary file not shown.
BIN
.vs/slnx.sqlite
Normal file
BIN
.vs/slnx.sqlite
Normal file
Binary file not shown.
|
@ -5,7 +5,7 @@ import traceback
|
|||
|
||||
from typing import Dict, List, Tuple, Any, Optional, Union, Literal
|
||||
|
||||
import rtoml
|
||||
import qtoml
|
||||
import socketio
|
||||
from colorama import Fore, Style
|
||||
from nacl.signing import SigningKey
|
||||
|
@ -14,7 +14,7 @@ from mcstatus import JavaServer
|
|||
|
||||
def get_config() -> Tuple[str, str, int]:
|
||||
with open('config.toml', 'r', encoding='utf-8') as f:
|
||||
config = rtoml.load(f)
|
||||
config = qtoml.load(f)
|
||||
return config['host'], config['private_key'], config['self_id']
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
lib-not-dr
|
||||
colorama
|
||||
rtoml
|
||||
qtoml
|
||||
pynacl
|
||||
python-socketio[asyncio_client]
|
||||
mcstatus
|
Loading…
Reference in New Issue
Block a user