projects
/
SaveMySugar
/
python3-savemysugar.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b26bcea
)
CallDistanceTransceiver.py: fix an error message
author
Antonio Ospite <ao2@ao2.it>
Mon, 21 Dec 2015 19:22:57 +0000
(20:22 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Mon, 21 Dec 2015 19:22:57 +0000
(20:22 +0100)
The error is about call_distance, not ring_distance.
src/savemysugar/CallDistanceTransceiver.py
patch
|
blob
|
history
diff --git
a/src/savemysugar/CallDistanceTransceiver.py
b/src/savemysugar/CallDistanceTransceiver.py
index
0ee4169
..
b89f2a8
100755
(executable)
--- 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):