Update check_nextcloud

This commit is contained in:
Thorsten Spille 2022-01-23 02:15:59 +01:00 committed by GitHub
parent 0959862605
commit 15504f60cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ def status(conf:dict):
state = 1 state = 1
else: else:
state = 0 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): def printout(name:str,function:str, result:str):
print(f'P "Nextcloud {name} {function}" {result}') print(f'P "Nextcloud {name} {function}" {result}')