This commit is contained in:
mike 2024-06-09 09:54:10 -07:00
parent b2261a3c49
commit 5828a0363f

View File

@ -192,9 +192,13 @@ class ConfigFile:
) )
self.__date_detection = date_detection self.__date_detection = date_detection
else: else:
self.warning( self.error(
f"Option date-detection not found; Will use default: {self.__date_detection}" f"Option date-detection not found; Will use default: {self.__date_detection}"
) )
raise AssertionError(
f"Option date-detection is required."
)
else: else:
self.error(f"No options key found!") self.error(f"No options key found!")
raise AssertionError(f"No options key found!") raise AssertionError(f"No options key found!")