Procházet zdrojové kódy

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

tags/v0.2.0
JustAnotherArchivist před 4 roky
rodič
revize
bd14ab3901
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      qwarc/warc.py

+ 1
- 1
qwarc/warc.py Zobrazit soubor

@@ -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'''


Načítá se…
Zrušit
Uložit