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