mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-12-23 03:33:32 +02:00
Some instances may disable usage stat
This commit is contained in:
parent
27e697b9c1
commit
0130e4ae22
1 changed files with 3 additions and 2 deletions
|
@ -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 a new issue