diff --git a/invesalius/reader/dicom.py b/invesalius/reader/dicom.py index 8bf57c1..1c60e39 100644 --- a/invesalius/reader/dicom.py +++ b/invesalius/reader/dicom.py @@ -337,7 +337,7 @@ class Parser(): ds = self.gdcm_reader.GetFile().GetDataSet() if ds.FindDataElement(tag): data = str(ds.GetDataElement(tag).GetValue()) - if (data) and (data != '""'): + if (data) and (data != '""') and (data != "None"): return int(data) return "" -- libgit2 0.21.2