# HG changeset patch # User Radek Brich # Date 1360765837 -3600 # Node ID 3cd28308d67b0f42be5ceded8f0656ac59044018 # Parent ea79c89e95171a23b2fbed58b90a35272deb0e5c Fix loopquery timing. diff -r ea79c89e9517 -r 3cd28308d67b loopquery.py --- a/loopquery.py Tue Feb 05 11:26:18 2013 +0100 +++ b/loopquery.py Wed Feb 13 15:30:37 2013 +0100 @@ -65,7 +65,7 @@ def reset(self): """Check current time, set next action time.""" dt = datetime.today() - dt = dt.replace(second = 0, microsecond = 0) + dt = dt.replace(microsecond = 0) self.next_action_time = dt + timedelta(minutes = self.delay_mins, seconds = self.delay_secs)