Spaces:
Build error
Build error
Commit
·
a39d0a9
1
Parent(s):
d049065
fix api
Browse files
app.py
CHANGED
|
@@ -141,8 +141,7 @@ def get_all_films(indexed_cache):
|
|
| 141 |
for sub_directory in directory['contents']:
|
| 142 |
if sub_directory['type'] == 'directory':
|
| 143 |
for item in sub_directory['contents']:
|
| 144 |
-
|
| 145 |
-
films.append(item['path'])
|
| 146 |
return films
|
| 147 |
|
| 148 |
|
|
|
|
| 141 |
for sub_directory in directory['contents']:
|
| 142 |
if sub_directory['type'] == 'directory':
|
| 143 |
for item in sub_directory['contents']:
|
| 144 |
+
films.append(item['path'])
|
|
|
|
| 145 |
return films
|
| 146 |
|
| 147 |
|