Fixed typo.

This commit is contained in:
Daniel Dayley 2021-07-25 19:12:20 -06:00
parent bda8231cfd
commit 9277644f62

View File

@ -34,8 +34,8 @@ if __name__ == '__main__':
# Parse config # Parse config
config_path = os.path.normpath(args.config) config_path = os.path.normpath(args.config)
file_descriptor = open(os.path.normpath(os.path.expanduser(os.path.expandvars(config_path)))) file_descriptor = open(os.path.normpath(os.path.expanduser(os.path.expandvars(config_path))))
self._config = yaml.safe_load(file_descriptor) config = yaml.safe_load(file_descriptor)
if not isinstance(self._config,dict) : if not isinstance(config,dict) :
raise ValueError('expected dictonary as top-level yaml object') raise ValueError('expected dictonary as top-level yaml object')
# Main functions # Main functions