Skip to content
New issue

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

Open filehandle as byte #72

Open
1letter opened this issue Oct 19, 2020 · 0 comments
Open

Open filehandle as byte #72

1letter opened this issue Oct 19, 2020 · 0 comments

Comments

@1letter
Copy link
Contributor

1letter commented Oct 19, 2020

# line 209 in convert.py
# that fails in py3 enviroment

if os.path.exists(output_filepath):
    fi = open(output_filepath)
    namedblob = NamedBlobFile(fi, filename=switchFileExt(video.filename,  video_type))
    setattr(context, fieldname, namedblob)
    fi.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant