From cd1697a1348e8de103af98ca808d25d6e7835b10 Mon Sep 17 00:00:00 2001 From: berhsi Date: Sat, 27 Jul 2019 19:40:16 +0200 Subject: [PATCH] statusd.py: fix bug in change_status() --- statusd.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/statusd.py b/statusd.py index 61491db..10aeffe 100755 --- a/statusd.py +++ b/statusd.py @@ -136,8 +136,7 @@ def change_status(raw_data, api): logging.error('Failed to write line to API file') logging.error('Line: {}'.format(line)) logging.error('{}'.format(e)) - logging.error('Failed to open API file. Wrong permissions?') - return False + logging.debug('API file changed') else: logging.error('API file is not writable. Wrong permissions?') return False