From 5ee9dbd7c3f6a8317a670cceb7558a85e8f8528d Mon Sep 17 00:00:00 2001 From: Matthew Wall Date: Fri, 22 Mar 2013 22:13:29 +0000 Subject: [PATCH] fix debug message --- bin/weewx/fousb.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/weewx/fousb.py b/bin/weewx/fousb.py index 7a31f7fa..0ae823e8 100644 --- a/bin/weewx/fousb.py +++ b/bin/weewx/fousb.py @@ -1,5 +1,5 @@ # FineOffset module for weewx -# $Id: fousb.py 554 2013-03-22 21:41:16Z mwall $ +# $Id: fousb.py 555 2013-03-22 22:13:03Z mwall $ # # Copyright 2012 Matthew Wall # @@ -1008,9 +1008,9 @@ class FineOffsetUSB(weewx.abstractstation.AbstractStation): range_lo = max(range_lo, lo) err = (range_hi - range_lo) / 2 last_date = range_lo + err - logdbg('estimated log time %s +/- %ds (%s..%s)', - last_date.strftime('%H:%M:%S'), err.seconds, - lo.strftime('%H:%M:%S'), hi.strftime('%H:%M:%S')) + logdbg('estimated log time %s +/- %ds (%s..%s)' % + (last_date.strftime('%H:%M:%S'), err.seconds, + lo.strftime('%H:%M:%S'), hi.strftime('%H:%M:%S'))) if err < datetime.timedelta(seconds=15): last_ptr = self.dec_ptr(last_ptr) break