Skip to content

Commit

Permalink
Log ndc file version and type at debug level.
Browse files Browse the repository at this point in the history
  • Loading branch information
d-cogswell committed Aug 12, 2024
1 parent e0ca49d commit 18a624f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NewareNDA/NewareNDAx.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def read_ndc(file):
# Get ndc file version and filetype
[ndc_filetype] = struct.unpack('<B', mm[0:1])
[ndc_version] = struct.unpack('<B', mm[2:3])
logger.info(f"NDC version: {ndc_version} filetype: {ndc_filetype}")
logger.debug(f"NDC version: {ndc_version} filetype: {ndc_filetype}")

try:
f = getattr(NewareNDA.NewareNDAx, f"_read_ndc_{ndc_version}_filetype_{ndc_filetype}")
Expand Down

0 comments on commit 18a624f

Please sign in to comment.