Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ def index():
|
|
118 |
shutil.move(video_path_in_media, tmp_video_path)
|
119 |
|
120 |
def remove_files():
|
121 |
-
for fpath in [tmp_video_path, code_filepath
|
122 |
try:
|
123 |
if os.path.exists(fpath):
|
124 |
os.remove(fpath)
|
|
|
118 |
shutil.move(video_path_in_media, tmp_video_path)
|
119 |
|
120 |
def remove_files():
|
121 |
+
for fpath in [tmp_video_path, code_filepath]:
|
122 |
try:
|
123 |
if os.path.exists(fpath):
|
124 |
os.remove(fpath)
|