Browse Source

fix log limit

devel
Stefan Holst 1 year ago
parent
commit
fccf5e0d84
  1. 2
      src/kyupy/__init__.py

2
src/kyupy/__init__.py

@ -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):

Loading…
Cancel
Save