Spaces:
Build error
Build error
Commit
·
613081c
1
Parent(s):
1642e05
fix
Browse files
app.py
CHANGED
|
@@ -220,7 +220,7 @@ def get_tv_show_api():
|
|
| 220 |
for sub_directory in directory['contents']:
|
| 221 |
if sub_directory['type'] == 'directory' and title.lower() in sub_directory['path'].lower():
|
| 222 |
for season_dir in sub_directory['contents']:
|
| 223 |
-
if season_dir['type'] == 'directory'
|
| 224 |
for episode_file in season_dir['contents']:
|
| 225 |
if episode_file['type'] == 'file':
|
| 226 |
episode_path = episode_file['path']
|
|
|
|
| 220 |
for sub_directory in directory['contents']:
|
| 221 |
if sub_directory['type'] == 'directory' and title.lower() in sub_directory['path'].lower():
|
| 222 |
for season_dir in sub_directory['contents']:
|
| 223 |
+
if season_dir['type'] == 'directory':
|
| 224 |
for episode_file in season_dir['contents']:
|
| 225 |
if episode_file['type'] == 'file':
|
| 226 |
episode_path = episode_file['path']
|