fix a bug when no hypothesis is returned #9

Merged
merged 1 commit into from Oct 26, 2012

Projects

None yet

2 participants

@Ases
Ases commented Oct 26, 2012

{"status":5,"id":"b3224733ce27875cc6a02c91f4f161c5-1","hypotheses":[]}

NoMethodError: undefined method `[]' for nil:NilClass
        from /usr/local/rvm/gems/ruby-1.9.3-p286/gems/speech2text-0.3.6/lib/speech/audio_to_text.rb
@taf2
Owner
taf2 commented on 7b0b05f Oct 26, 2012

Thanks!

@taf2 taf2 merged commit 557fc26 into taf2:master Oct 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment