deepak191z commited on
Commit
9ba6232
·
verified ·
1 Parent(s): 26ae9bc

Create cleanup.py

Browse files
Files changed (1) hide show
  1. utils/cleanup.py +4 -0
utils/cleanup.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import shutil
2
+
3
+ def cleanup_files(upload_dir):
4
+ shutil.rmtree(upload_dir, ignore_errors=True)