Skip to content

Bug: create_core_instance raises TypeError for config_file=None #23

Description

@samhitech

Config_file None raises TypeError when checking for relative paths

For config_file=None, create_core_instance raises TypeError when attempting to convert config_file from a relative to an absolute path.

if not os.path.isabs(config_file):
        config_file = os.path.join(mm_app_path, config_file)

Fixed the issue by checking if config_file is None before checking if it is a relative path in PR #22.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions