From: Antonio Ospite Date: Mon, 21 Dec 2015 19:25:31 +0000 (+0100) Subject: CallDistanceTransceiver.py: fix a print format in a debug message X-Git-Url: https://git.ao2.it/SaveMySugar/python3-savemysugar.git/commitdiff_plain/e3f4436c5f218af75983c8531b1f871dce233423?ds=inline CallDistanceTransceiver.py: fix a print format in a debug message The times here are not exact integers, so print them as float. --- diff --git a/src/savemysugar/CallDistanceTransceiver.py b/src/savemysugar/CallDistanceTransceiver.py index b89f2a8..d29b302 100755 --- a/src/savemysugar/CallDistanceTransceiver.py +++ b/src/savemysugar/CallDistanceTransceiver.py @@ -289,7 +289,7 @@ class CallDistanceTransceiver(object): transmitting_time += self.eom_time - logging.debug("Estimated transmitting time: %d seconds", + logging.debug("Estimated transmitting time: %.2f seconds", transmitting_time)