diff --git a/net/adafruit_io.py b/net/adafruit_io.py index 23ddff9..63950a6 100644 --- a/net/adafruit_io.py +++ b/net/adafruit_io.py @@ -53,7 +53,7 @@ class AdafruitIO: def logError(self, result): status = result.status_code - reason = result.reason.decode("utf-8") + reason = result.reason.decode('utf-8') error_message = self.getErrorMessage(result) logging.debug(f'Adafruit IO upload issue: {status} {reason} - "{error_message}"') diff --git a/net/ntfy.py b/net/ntfy.py index 6c1c628..7b43818 100644 --- a/net/ntfy.py +++ b/net/ntfy.py @@ -30,6 +30,6 @@ class Ntfy: def logError(self, result): status = result.status_code - reason = result.reason.decode("utf-8") + reason = result.reason.decode('utf-8') logging.debug(f'ntfy upload issue: {status} {reason}')