summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/logging/handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py
index 6225f17..c6b526a 100644
--- a/Lib/logging/handlers.py
+++ b/Lib/logging/handlers.py
@@ -282,7 +282,7 @@ class TimedRotatingFileHandler(BaseRotatingHandler):
self.stream = codecs.open(self.baseFilename, 'w', self.encoding)
else:
self.stream = open(self.baseFilename, 'w')
- self.rolloverAt = int(time.time()) + self.interval
+ self.rolloverAt = self.rolloverAt + self.interval
class SocketHandler(logging.Handler):
"""