Skip to content

Commit

Permalink
fix: zip, better error string
Browse files Browse the repository at this point in the history
  • Loading branch information
tympanix committed Jun 8, 2018
1 parent f45103a commit 1351e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/subscene.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ func newZipReader(file *os.File) (*zipReader, error) {
}

if srt == nil {
return nil, errors.New("could not read srt file from subscene")
return nil, errors.New("no srt file found in zip")
}

return &zipReader{srt, data, file}, nil
Expand Down

0 comments on commit 1351e3a

Please sign in to comment.