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.

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.

My suggestion would be to run a check on what is being passed.
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
IsADirectoryErrorerror.Going through the traceback, I noticed the error comes up in the

get_elementsfunction which attempts to openafile so it's only logical for it to raise an error if a directory is passed.My suggestion would be to run a check on what is being passed.