projects
/
SaveMySugar
/
python3-savemysugar.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CallDistanceTransceiver.py: fix a print format in a debug message
[SaveMySugar/python3-savemysugar.git]
/
src
/
savemysugar
/
CallDistanceTransceiver.py
diff --git
a/src/savemysugar/CallDistanceTransceiver.py
b/src/savemysugar/CallDistanceTransceiver.py
index
0ee4169
..
d29b302
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
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):
logging.error("Check the transmitter and receiver parameters")
def receive_loop(self):
@@
-289,7
+289,7
@@
class CallDistanceTransceiver(object):
transmitting_time += self.eom_time
transmitting_time += self.eom_time
- logging.debug("Estimated transmitting time: %
d
seconds",
+ logging.debug("Estimated transmitting time: %
.2f
seconds",
transmitting_time)
transmitting_time)