Spaces:
Running
Running
Update function/dropbox.py
Browse files- function/dropbox.py +0 -1
function/dropbox.py
CHANGED
@@ -92,7 +92,6 @@ def download_folder(id):
|
|
92 |
dbx = dropbox.Dropbox(TOKEN)
|
93 |
local_path = f"/code/user_file/{id}"
|
94 |
os.makedirs(local_path, exist_ok=True)
|
95 |
-
clear_local_folder(local_path)
|
96 |
result = dbx.files_list_folder(f"/{id}")
|
97 |
for entry in result.entries:
|
98 |
if isinstance(entry, dropbox.files.FileMetadata):
|
|
|
92 |
dbx = dropbox.Dropbox(TOKEN)
|
93 |
local_path = f"/code/user_file/{id}"
|
94 |
os.makedirs(local_path, exist_ok=True)
|
|
|
95 |
result = dbx.files_list_folder(f"/{id}")
|
96 |
for entry in result.entries:
|
97 |
if isinstance(entry, dropbox.files.FileMetadata):
|