mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-26 01:27:07 +00:00
Merge branch 'development'
This commit is contained in:
commit
c3b1d2f086
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ def store_subtitles(file):
|
|||
actual_subtitles.append([str(language), path_replace_reverse(os.path.join(os.path.dirname(file), subtitle))])
|
||||
else:
|
||||
with open(path_replace(os.path.join(os.path.dirname(file), subtitle)), 'r') as f:
|
||||
text = list(islice(f, 20))
|
||||
text = list(islice(f, 100))
|
||||
text = ' '.join(text)
|
||||
encoding = UnicodeDammit(text)
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue