statusd.py: fix typo in change_status()

This commit is contained in:
berhsi 2019-07-27 19:32:51 +02:00
parent 93e1ef8e00
commit 01dff18c07

View file

@ -136,7 +136,7 @@ def change_status(raw_data, api):
logging.error('Failed to write line to API file') logging.error('Failed to write line to API file')
logging.error('Line: {}'.format(line)) logging.error('Line: {}'.format(line))
logging.error('{}'.format(e)) logging.error('{}'.format(e))
loggin.error('Failed to open API file. Wrong permissions?') logging.error('Failed to open API file. Wrong permissions?')
return False return False
else: else:
logging.error('API file is not writable. Wrong permissions?') logging.error('API file is not writable. Wrong permissions?')