| Fix another bug that affects 1.8 only - warvox - VoIP based wardialing tool, fo… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 0367cb279803e4c6c3f19fb40f268d483a88e940 | |
| parent 8998c901ea6c9a70a9510fd5469ac2393ab024b5 | |
| Author: HD Moore <[email protected]> | |
| Date: Thu, 6 Oct 2011 19:30:58 +0000 | |
| Fix another bug that affects 1.8 only | |
| Diffstat: | |
| M lib/warvox/jobs/analysis.rb | 2 +- | |
| 1 file changed, 1 insertion(+), 1 deletion(-) | |
| --- | |
| diff --git a/lib/warvox/jobs/analysis.rb b/lib/warvox/jobs/analysis.rb | |
| @@ -348,7 +348,7 @@ class Analysis < Base | |
| tmp_mp3 = Tempfile.new("mp3") | |
| # Generate a WAV file from raw linear PCM | |
| - ::File.open(tmp_wav, "wb") do |fd| | |
| + ::File.open(tmp_wav.path, "wb") do |fd| | |
| fd.write(raw.to_wav) | |
| end | |