fix :bug: in get_or_create_workspace
@@ -49,10 +49,10 @@ def get_or_create_workspace(
Returns:
obj: AzureML workspace if one exists already with the name otherwise creates a new one.
"""
-
- config_dir, config_file_name = os.path.split(config_path)
config_file_path = None
+ if config_path is not None:
+ config_dir, config_file_name = os.path.split(config_path)s
if config_file_name != "config.json":
config_file_path = os.path.join(config_path, "config.json")
