-
Notifications
You must be signed in to change notification settings - Fork 7
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
Conversation
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") |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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', |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
66bd017
into
new-webenabled
No description provided.