mirror of https://gitlab.com/bashrc2/epicyon
Add debug
parent
5fd9f17c3c
commit
1742ec7636
|
@ -165,6 +165,7 @@ def _get_instance_software(base_dir: str, session,
|
||||||
__version__, http_prefix, domain)
|
__version__, http_prefix, domain)
|
||||||
if not get_json_valid(nodeinfo1_json):
|
if not get_json_valid(nodeinfo1_json):
|
||||||
return ''
|
return ''
|
||||||
|
print('DEBUG get_instance_software: ' + str(nodeinfo1_json))
|
||||||
# get the nodeinfo data
|
# get the nodeinfo data
|
||||||
nodeinfo_url = None
|
nodeinfo_url = None
|
||||||
if nodeinfo1_json.get('links'):
|
if nodeinfo1_json.get('links'):
|
||||||
|
@ -183,6 +184,7 @@ def _get_instance_software(base_dir: str, session,
|
||||||
__version__, http_prefix, domain)
|
__version__, http_prefix, domain)
|
||||||
if not get_json_valid(nodeinfo_json):
|
if not get_json_valid(nodeinfo_json):
|
||||||
return ''
|
return ''
|
||||||
|
print('DEBUG get_instance_software: ' + str(nodeinfo_json))
|
||||||
if not nodeinfo_json.get('software'):
|
if not nodeinfo_json.get('software'):
|
||||||
return ''
|
return ''
|
||||||
if not isinstance(nodeinfo_json['software'], dict):
|
if not isinstance(nodeinfo_json['software'], dict):
|
||||||
|
|
Loading…
Reference in New Issue