Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -176,8 +176,10 @@ def process_directory5(directory, partial_paths=None, file_paths=None):
|
|
176 |
print("unzipped_root ", unzipped_root)
|
177 |
if len(unzipped_root) == 1 and os.path.isdir(os.path.join(tmpdirname, unzipped_root[0])):
|
178 |
tmpsubdirpath= os.path.join(tmpdirname, unzipped_root[0])
|
|
|
179 |
else:
|
180 |
tmpsubdirpath = tmpdirname
|
|
|
181 |
|
182 |
if not partial_paths and not file_paths:
|
183 |
for root, _, files_list in os.walk(tmpdirname):
|
|
|
176 |
print("unzipped_root ", unzipped_root)
|
177 |
if len(unzipped_root) == 1 and os.path.isdir(os.path.join(tmpdirname, unzipped_root[0])):
|
178 |
tmpsubdirpath= os.path.join(tmpdirname, unzipped_root[0])
|
179 |
+
print("AYYYYYYY 11111")
|
180 |
else:
|
181 |
tmpsubdirpath = tmpdirname
|
182 |
+
print("AYYYYYYY 22222")
|
183 |
|
184 |
if not partial_paths and not file_paths:
|
185 |
for root, _, files_list in os.walk(tmpdirname):
|