fix log limit

This commit is contained in:
Stefan Holst committed 2023-12-06 16:43:42 +09:00
1 parent a6d1e4099c
commit fccf5e0d84
1 file changed
+2
+2
View File
@@ -161,6 +161,8 @@ class Log:
def __setstate__(self, state): def __setstate__(self, state):
self.logfile = sys.stdout self.logfile = sys.stdout
self.indent = 0 self.indent = 0
self._limit = -1
self.filtered = 0
self.start = time.perf_counter() - state['elapsed'] self.start = time.perf_counter() - state['elapsed']
def write(self, s, indent=0): def write(self, s, indent=0):