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

Urgent, change temp file folder from "tmp" to mkdtemp #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

anttiryt
Copy link

Original code would potentially wipe out tmp -named directory on destination video's folder.

Luckily the inference crashed on unknown file formats and I didn't lose my .. stuff..

changes required to use tempfile mkdtemp()

original code would potentially wipe out tmp -named directory on destination video's folder.
Renamed output_filename to data_path in extract_frames() for consistency with other code.
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

Successfully merging this pull request may close these issues.

1 participant