functions: Fix log issue

This commit is contained in:
Jordan Ruthe committed 2021-02-22 19:43:11 -05:00
1 parent 90d115d1f4
commit 81477f4b0a
1 file changed
+1 -1
+1 -1
View File
@@ -43,7 +43,7 @@ class KlipperScreenLoggingHandler(logging.handlers.TimedRotatingFileHandler):
self.rollover_info[name] = item
def doRollover(self):
super(MoonrakerLoggingHandler, self).doRollover()
super(KlipperScreenLoggingHandler, self).doRollover()
lines = [line for line in self.rollover_info.values() if line]
if self.stream is not None:
self.stream.write("\n".join(lines) + "\n")