diff --git a/python/file/spec.py b/python/file/spec.py index 04a8d3e..a32651f 100644 --- a/python/file/spec.py +++ b/python/file/spec.py @@ -228,7 +228,7 @@ def _indexscans(self): if fb is not None: fb.end() - if btype == 'F' or (btype == 'E' and not self.inheader): + if btype in ['F', 'E']: if btype == 'F': self.origfilename = sline[2:].strip() fb = Header(blockstart, blockline)