Skip to content

Converting pdf files expects a directory #115

Description

@ProfessorHoover

What broke?

  • Downloader
  • Processor
  • [X ] Converter
  • Other

Mandown version
Output of mandown --version:
mandown 1.12.2
Describe the bug
A clear and concise description of what the bug is.
Running mandown convert epub $file.pdf fails with NotADirectoryError: [Errno 20] Not a directory: 'WinteringBees/wintering_bees_in_canada_1922.pdf/md-metadata.json'. According to the examples given when running mandown convert, mandown should be able to convert existing pdf files when given a full path.

Steps to reproduce
If the downloader broke, please include a URL that breaks it.
Convert a PDF file using mandown convert epub $file.pdf
Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions