CallDistanceTransceiver.py: fix a print format in a debug message
authorAntonio Ospite <ao2@ao2.it>
Mon, 21 Dec 2015 19:25:31 +0000 (20:25 +0100)
committerAntonio 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

index b89f2a8..d29b302 100755 (executable)
@@ -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)