Skip to content

invalid mode ('wb') or filename (Windows) #4

@thBoo39

Description

@thBoo39

Tried:
from dirtools import Dir, DirState

d = Dir('myProject')
dir_state = DirState(d)
dir_state.to_json()

IOError: [Errno 22] invalid mode ('wb') or filename.

I'm using Windows. I believe the cause should be use of ':' in filename in .iosformat

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