Append instead of add for subtitle file list
This commit is contained in:
1 parent
ec19932eef
commit
9db1f3430e
1 file changed
+1
-1
@@ -59,7 +59,7 @@ class Subtitle(Plugin):
|
|||||||
|
|
||||||
for d_sub in downloaded:
|
for d_sub in downloaded:
|
||||||
log.info('Found subtitle (%s): %s', (d_sub.language.alpha2, files))
|
log.info('Found subtitle (%s): %s', (d_sub.language.alpha2, files))
|
||||||
group['files']['subtitle'].add(d_sub.path)
|
group['files']['subtitle'].append(d_sub.path)
|
||||||
group['subtitle_language'][d_sub.path] = [d_sub.language.alpha2]
|
group['subtitle_language'][d_sub.path] = [d_sub.language.alpha2]
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in new issue
Block a user