Skip to content

Please do not create folders/config at import #5

@BenediktBurger

Description

@BenediktBurger

Thank you for updating HAPI.

I just tried hapi2 and found out, that it creates a config file and two folders in my current working directory on import of hapi2. That creates major problems as I am not always in the folder in which the file is.

Please ask, whether a new config file (and folders) are created, if you did not find a config file.

Maybe you could move the configuration detection to its own method, e.g. hapi2.init, such that you can call it at leasure (instead at import time). This method could accept a path to a config file as well.

EDIT: If you want, I can open a pull request with a suggestion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions