projects
/
SaveMySugar
/
python3-savemysugar.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
172ddaa
)
CallDistanceTransceiver.py: fix a print format in a debug message
author
Antonio Ospite <ao2@ao2.it>
Mon, 21 Dec 2015 19:25:31 +0000
(20:25 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Mon, 21 Dec 2015 19:25:31 +0000
(20:25 +0100)
The times here are not exact integers, so print them as float.
src/savemysugar/CallDistanceTransceiver.py
patch
|
blob
|
history
diff --git
a/src/savemysugar/CallDistanceTransceiver.py
b/src/savemysugar/CallDistanceTransceiver.py
index
b89f2a8
..
d29b302
100755
(executable)
--- a/
src/savemysugar/CallDistanceTransceiver.py
+++ b/
src/savemysugar/CallDistanceTransceiver.py
@@
-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)