Feature #761
Code Suggestion about feature no #753
Description
Suggested changes
If the configuration file (config.ini by default) does not exist or is not in the specified path, the config.read(config_path) line will not raise an error, but any subsequent attempts to access keys in the configuration file will.
If the expected keys (like imageWidthPx, imageWidthCm, etc.) are not found in the configuration file, the methods will raise a KeyError.
If the values in the configuration file are not of the expected format (e.g., a non-numeric value for imageWidthPx), the type conversion (like int() or float()) will raise a ValueError.
Modified code
See the file config_reader_plus.py
Files