Reverted the status to uppercase.

This commit is contained in:
Johannes Findeisen 2022-09-09 23:14:38 +02:00
commit 6cb6716862
2 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@ MINOR changes are "just-in-time" changes or small enhancements which should not
documentation.
FIXES should never affect anything else then stability or security.
"""
__version__ = '0.8.4.1'
__version__ = '0.8.4.2'
__author__ = 'Johannes Findeisen <you@hanez.org>'
logger = logging.getLogger('uplink')

View file

@ -87,7 +87,7 @@ class Uplink(Daemon):
self.__configuration.set_env_var('_uplink_' + uplink['identifier'] +
'_status', 'UP')
status = 'up'
status = 'UP'
else:
fail_count = self.__configuration.get_env_var('_uplink_' + uplink['identifier'] +
'_fail_count')
@ -112,7 +112,7 @@ class Uplink(Daemon):
self.__configuration.set_env_var('_uplink_' + uplink['identifier'] +
'_status', 'DOWN')
status = 'down'
status = 'DOWN'
if self.__configuration.get_notification_gammu() is True:
notification_gammu_repeat = self.__configuration.get_notification_gammu_repeat()