We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
same problem ;
if dt is None: dt = datetime.utcnow() dt = dt.isoformat() dt = dt.replace(':','-')
also the json.dumps makes a str, so the with open(path, 'wb') as f: statement in to_json and from_json should be without the b option.
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: