Skip to content

Instantly share code, notes, and snippets.

@YamashitaRen
Created May 14, 2015 23:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YamashitaRen/d1fce4a15c3a79451878 to your computer and use it in GitHub Desktop.
Save YamashitaRen/d1fce4a15c3a79451878 to your computer and use it in GitHub Desktop.
Shingeki no Kyojin - Sushi
Traceback (most recent call last):
File "Work/Sushi/sushi.py", line 797, in <module>
parse_args_and_run(sys.argv[1:])
File "Work/Sushi/sushi.py", line 790, in parse_args_and_run
run(args)
File "Work/Sushi/sushi.py", line 626, in run
script = AssScript.from_file(src_script_path) if script_extension == '.ass' else SrtScript.from_file(src_script_path)
File "/home/yama/Work/Sushi/subs.py", line 126, in from_file
return cls([SrtEvent(x) for x in script.read().replace(os.linesep, '\n').split('\n\n') if x])
File "/home/yama/Work/Sushi/subs.py", line 104, in __init__
self.text = lines[2]
IndexError: list index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment