more debug

This commit is contained in:
j 2017-08-26 01:00:48 +02:00
parent cf4a761228
commit c99ec59bb7

View file

@ -121,7 +121,7 @@ def render_subtitles(item_json, output_json, output_srt, lang):
if isinstance(lang, list): if isinstance(lang, list):
fixme = [sub for sub in subs if set(sub['languages']) != set(lang)] fixme = [sub for sub in subs if set(sub['languages']) != set(lang)]
if fixme: if fixme:
print('split/merge overlaps') print('split/merge overlaps', output_srt, output_json)
if output_srt: if output_srt:
with open(output_srt, 'wb') as fd: with open(output_srt, 'wb') as fd: