mirror of
http://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-25 11:01:27 +00:00
Some instances may disable usage stat
This commit is contained in:
parent
27e697b9c1
commit
0130e4ae22
|
@ -129,6 +129,7 @@ Insert token from "Access token" here''')
|
||||||
k, v = i.get('verbose_name'), i.get('value')
|
k, v = i.get('verbose_name'), i.get('value')
|
||||||
about_instance_info.append(f'{k}: {v}')
|
about_instance_info.append(f'{k}: {v}')
|
||||||
about_instance_info.append('|||||Some stats:')
|
about_instance_info.append('|||||Some stats:')
|
||||||
|
if ins_nodeinfo['metadata'].get('usage'):
|
||||||
for k, v in ins_nodeinfo['metadata']['usage'].items():
|
for k, v in ins_nodeinfo['metadata']['usage'].items():
|
||||||
about_instance_info.append(f'{k}: {v}')
|
about_instance_info.append(f'{k}: {v}')
|
||||||
for k, v in ins_nodeinfo['metadata']['library'].items():
|
for k, v in ins_nodeinfo['metadata']['library'].items():
|
||||||
|
|
Loading…
Reference in a new issue