diff --git a/python/lib/l1_osp_dir.py b/python/lib/l1_osp_dir.py index 06f0b26..84596e6 100644 --- a/python/lib/l1_osp_dir.py +++ b/python/lib/l1_osp_dir.py @@ -110,7 +110,7 @@ def dem(self): srtm_dir = self.srtm_dir if(not datum): datum = os.environ["AFIDS_VDEV_DATA"] + "/EGM96_20_x100.HLF" - if(self.srtm_dir): + if(not srtm_dir): srtm_dir = os.environ["ELEV_ROOT"] logger.info("Datum: %s", datum) logger.info("SRTM Dir: %s", srtm_dir)