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

MCS - 1926 - Delete temporary files when browser session is ended #712

Merged
merged 5 commits into from
Dec 13, 2023

Conversation

NDCACI
Copy link
Collaborator

@NDCACI NDCACI commented Dec 6, 2023

No description provided.

@NDCACI NDCACI self-assigned this Dec 6, 2023
@NDCACI NDCACI changed the title MCS - 1926 MCS - 1926 - Delete temporary files when browser session is ended Dec 8, 2023
app.logger.info(f'{"Deleting static/mcsinterface/ folders"}')
os.system("find ./static/mcsinterface -name 'cmd_*' | xargs rm -r")
os.system("find ./static/mcsinterface -name 'output_*' | xargs rm -r")
os.system("find ./static/mcsinterface -name 'img_*' | xargs rm -r")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me, I don't see any img_* files in my static/mcsinterface/ folder (is it an OS-specific thing?), but having it here doesn't hurt.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The img_* are folders that the rbg_* files that Rachel mentioned. Thats what they are for me.

'ffmpeg', '-y', '-r', '20', '-i',
'ffmpeg', '-y', '-r', '20', '-i', '-q:v', '1',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity, what is this change for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its something Phi changed while helping me with my import issue.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yikes... can you revert that, it was something I was testing.

@ThomasSchellenbergNextCentury ThomasSchellenbergNextCentury merged commit 66bd017 into new-webenabled Dec 13, 2023
8 checks passed
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.

4 participants