From 2e461efb59cd857b32a2b6fbd9306ecad0ff4faf Mon Sep 17 00:00:00 2001 From: Daniel Dayley Date: Sun, 25 Jul 2021 17:59:51 -0600 Subject: [PATCH] Fixed typo --- bin/python-tool | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/python-tool b/bin/python-tool index 0060b23..8737cd9 100644 --- a/bin/python-tool +++ b/bin/python-tool @@ -32,10 +32,11 @@ if __name__ == '__main__': logging.basicConfig(level=logging.INFO,filename=args.log) # Parse config - config_path = os.path.normpath(config_path) + config_path = os.path.normpath(args.config) file_descriptor = open(os.path.normpath(os.path.expanduser(os.path.expandvars(config_path)))) self._config = yaml.safe_load(file_descriptor) if not isinstance(self._config,dict) : raise ValueError('expected dictonary as top-level yaml object') + # Main functions print('Hello World!')