mirror of https://github.com/skygpu/skynet.git
update ipfs_gateway_url reqs for discord config to be optional
parent
361f717867
commit
687ff6f118
|
@ -453,7 +453,12 @@ def discord(
|
||||||
node_url = load_key(config, 'skynet.discord.node_url')
|
node_url = load_key(config, 'skynet.discord.node_url')
|
||||||
hyperion_url = load_key(config, 'skynet.discord.hyperion_url')
|
hyperion_url = load_key(config, 'skynet.discord.hyperion_url')
|
||||||
|
|
||||||
ipfs_gateway_url = load_key(config, 'skynet.discord.ipfs_gateway_url')
|
try:
|
||||||
|
ipfs_gateway_url = load_key(config, 'skynet.discord.ipfs_gateway_url')
|
||||||
|
|
||||||
|
except ConfigParsingError:
|
||||||
|
ipfs_gateway_url = None
|
||||||
|
|
||||||
ipfs_url = load_key(config, 'skynet.discord.ipfs_url')
|
ipfs_url = load_key(config, 'skynet.discord.ipfs_url')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue