瀏覽代碼

Fix crash due to closing the log handler on reaching the max WARC size

tags/v0.2.0
JustAnotherArchivist 4 年之前
父節點
當前提交
bd14ab3901
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      qwarc/warc.py

+ 1
- 1
qwarc/warc.py 查看文件

@@ -156,7 +156,7 @@ class WARC:
self._warcWriter.write_record(responseRecord)

if self._maxFileSize and self._file.tell() > self._maxFileSize:
self.close()
self._close_file()

def _write_resource_records(self):
'''Write spec file and dependencies'''


Loading…
取消
儲存