SickGear/lib/hachoir/field/field_set.py
2023-02-09 13:41:15 +00:00

9 lines
297 B
Python

from hachoir.field import BasicFieldSet, GenericFieldSet
class FieldSet(GenericFieldSet):
def __init__(self, parent, name, *args, **kw):
assert issubclass(parent.__class__, BasicFieldSet)
GenericFieldSet.__init__(
self, parent, name, parent.stream, *args, **kw)