ps2ff.config¶
-
ps2ff.config.config_error(config, results)[source]¶ Parse the results of a ConfigObj validation and print the errors. Throws a RuntimeError exception upon completion if any errors or missing sections are encountered.
Parameters: - config (ConfigObj) – The ConfigObj instance representing the parsed config.
- results (dict) – The dictionary returned by the validation of the ‘config’ arguments.
Returns: Nothing
Return type: (Nothing)
-
ps2ff.config.get_configspec()[source]¶ Returns the full path to the configspec.conf file.
Returns: The path to the configspec. Return type: (str)
-
ps2ff.config.get_custom_validator()[source]¶ Returns a validator suitable for validating the ps2ff config file.
Returns: A Validator object. Return type: ( Validator)