changeset 58:299e3d0f2310

but skip at eobp is not working (with test 2)
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 12 Jul 2023 19:07:56 +0100
parents 61b0a1582af8
children 5d40d7511374
files bin/warc.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/warc.py	Wed Jul 12 18:48:27 2023 +0100
+++ b/bin/warc.py	Wed Jul 12 19:07:56 2023 +0100
@@ -83,8 +83,7 @@
       if parts!=1:
         # everything from bv= goes here
         pass
-      else:
-        bp+=length
+    bp+=length
     print('end of loop',wtype,start_1,bp,eol,length,bl,file=sys.stderr)
     #while not buf.startswith(b'\r\n',bp):
     continue