statusd.py: fix typo in change_status()
This commit is contained in:
parent
93e1ef8e00
commit
01dff18c07
1 changed files with 1 additions and 1 deletions
|
@ -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?')
|
||||||
|
|
Loading…
Reference in a new issue