From 172ddaab29ac9e9c0488b53e21abf5326a707e53 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Mon, 21 Dec 2015 20:22:57 +0100 Subject: [PATCH 1/1] CallDistanceTransceiver.py: fix an error message The error is about call_distance, not ring_distance. --- src/savemysugar/CallDistanceTransceiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/savemysugar/CallDistanceTransceiver.py b/src/savemysugar/CallDistanceTransceiver.py index 0ee4169..b89f2a8 100755 --- a/src/savemysugar/CallDistanceTransceiver.py +++ b/src/savemysugar/CallDistanceTransceiver.py @@ -191,7 +191,7 @@ class CallDistanceTransceiver(object): return # if the code made it up to here, something fishy is going on - logging.error("Unexpected distance: %.2f", ring_distance) + logging.error("Unexpected distance: %.2f", call_distance) logging.error("Check the transmitter and receiver parameters") def receive_loop(self): -- 2.1.4