Update srt.py

Fixes index error for files that have less than 2 lines
Update srt.py

Remove unnecessary else condition
Merge pull request #1 from vayam/master

Prevent srt.detect call from throwing index error