statusd.py: add logging message to change_status()

This commit is contained in:
berhsi 2019-07-27 18:58:51 +02:00
parent 6143456d35
commit 22f3d4e75b

View file

@ -146,6 +146,7 @@ def read_api(api):
param 1: string
return: string or boolean
'''
logging.debug('Open API file: {}'.format(api))
if os.access(api, os.R_OK):
logging.debug('API is readable')
with open(api, 'r') as api_file: