Fix some wrong config load keys on telegram entrypoint

pull/26/head
Guillermo Rodriguez 2023-10-05 16:05:19 -03:00
parent 10044c6d12
commit de8c7595db
No known key found for this signature in database
GPG Key ID: EC3AB66D5D83B392
1 changed files with 4 additions and 4 deletions

View File

@ -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')