diff --git a/NewareNDA/NewareNDAx.py b/NewareNDA/NewareNDAx.py index a58a334..ee4bb2a 100644 --- a/NewareNDA/NewareNDAx.py +++ b/NewareNDA/NewareNDAx.py @@ -274,9 +274,10 @@ def read_ndc(file): with open(file, 'rb') as f: mm = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ) - # Get ndc file version + # Get ndc file version and filetype + [ndc_filetype] = struct.unpack('