mirror of https://github.com/skygpu/skynet.git
Fix some wrong config load keys on telegram entrypoint
parent
10044c6d12
commit
de8c7595db
|
@ -369,10 +369,10 @@ def telegram(
|
||||||
config, _ = load_skynet_ini()
|
config, _ = load_skynet_ini()
|
||||||
tg_token = load_key(config, 'skynet.telegram', 'tg_token')
|
tg_token = load_key(config, 'skynet.telegram', 'tg_token')
|
||||||
|
|
||||||
key = load_key(config, 'skynet.user', 'key')
|
key = load_key(config, 'skynet.telegram', 'key')
|
||||||
account = load_key(config, 'skynet.user', 'account')
|
account = load_key(config, 'skynet.telegram', 'account')
|
||||||
permission = load_key(config, 'skynet.user', 'permission')
|
permission = load_key(config, 'skynet.telegram', 'permission')
|
||||||
node_url = load_key(config, 'skynet.user', 'node_url')
|
node_url = load_key(config, 'skynet.telegram', 'node_url')
|
||||||
hyperion_url = load_key(config, 'skynet.telegram', 'hyperion_url')
|
hyperion_url = load_key(config, 'skynet.telegram', 'hyperion_url')
|
||||||
|
|
||||||
ipfs_gateway_url = load_key(config, 'skynet.telegram', 'ipfs_gateway_url')
|
ipfs_gateway_url = load_key(config, 'skynet.telegram', 'ipfs_gateway_url')
|
||||||
|
|
Loading…
Reference in New Issue