mirror of
https://github.com/bashclub/check-nextcloud.git
synced 2024-11-07 15:01:58 +01:00
Update check_nextcloud
This commit is contained in:
parent
0959862605
commit
15504f60cf
@ -58,7 +58,7 @@ def status(conf:dict):
|
||||
state = 1
|
||||
else:
|
||||
state = 0
|
||||
return f" status={state};1;2 {', '.join(['{0}: {1}'.format(key, value) for (key, value) in result.items()])}"
|
||||
return f" status={state};1;2 {' '.join(['{0}: {1}'.format(key, value) for (key, value) in result.items()])}"
|
||||
|
||||
def printout(name:str,function:str, result:str):
|
||||
print(f'P "Nextcloud {name} {function}" {result}')
|
||||
|
Loading…
Reference in New Issue
Block a user