loopquery.py
changeset 66 3cd28308d67b
parent 65 ea79c89e9517
child 78 64c62ac8f65d
--- 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)