-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
With "Modify tests to fix flakiness" MarkDownFile.init() has been modified to use os.getcwd() as base directory.
This makes it impossible to specify an absolute path via MdUtils.create_md_file().
To Reproduce
md_file = mdutils.MdUtils(file_name="<absolute file path>", title="My title")
md_file.create_md_file()
leads to
FileNotFoundError: [Errno 2] No such file or directory: '<current directory>/<absolute file path>'
Expected behavior
MD file is created with given absolute file_name.
Desktop (please complete the following information):
- OS: Ubuntu
- Version 22.04
krismp
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working