From 6cb67168629e501278260c724450f510d5f6a7cf Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Fri, 9 Sep 2022 23:14:38 +0200 Subject: [PATCH] Reverted the status to uppercase. --- bin/uplink | 2 +- uplink/uplink.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/uplink b/bin/uplink index 627a0da..7813f70 100755 --- a/bin/uplink +++ b/bin/uplink @@ -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 ' logger = logging.getLogger('uplink') diff --git a/uplink/uplink.py b/uplink/uplink.py index 43d0012..57d301f 100644 --- a/uplink/uplink.py +++ b/uplink/uplink.py @@ -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()