Skip to content

Staticfy folder #6

Description

@Olamyy

I've always been able to run staticfy *path* where path is a directory containing html files but for some reason, it doesn't seem to be working now.

I keep getting an IsADirectoryError error.

screen shot 2018-02-09 at 7 57 32 pm

Going through the traceback, I noticed the error comes up in the get_elements function which attempts to open a file so it's only logical for it to raise an error if a directory is passed.
screen shot 2018-02-09 at 7 59 09 pm

My suggestion would be to run a check on what is being passed.

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