ChandimaPrabath commited on
Commit
a39d0a9
·
1 Parent(s): d049065
Files changed (1) hide show
  1. app.py +1 -2
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
- if item['type'] == 'file':
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