- change logic...it should publish recording when directory is NOT present

This commit is contained in:
Richard Alam 2011-06-06 16:59:55 -04:00
parent 350d71b53e
commit 002460dc81

View File

@ -30,7 +30,7 @@ if (playback == "matterhorn")
process_dir = "#{recording_dir}/process/matterhorn/#{meeting_id}"
target_dir = "#{recording_dir}/publish/matterhorn/#{meeting_id}"
if FileTest.directory?(target_dir)
if not FileTest.directory?(target_dir)
FileUtils.mkdir_p target_dir
FileUtils.cp("#{process_dir}/muxed-audio-webcam.flv", target_dir)