lib/pipeline/base.rb in tracksperanto-1.2.3 vs lib/pipeline/base.rb in tracksperanto-1.2.4

- old
+ new

@@ -42,11 +42,11 @@ # Reset stats @converted_keyframes, @converted_points = 0, 0 # Grab the input - read_data = File.open(from_input_file_path) + read_data = File.open(from_input_file_path, "rb") # Assign the parser importer = parser_class.new(:width => pix_w, :height => pix_h) # Setup a multiplexer @@ -150,10 +150,10 @@ end # Open the file for writing and register it to be closed automatically def open_owned_export_file(path_to_file) @ios ||= [] - handle = File.open(path_to_file, "w") + handle = File.open(path_to_file, "wb") @ios << handle handle end # Check that the trackers made by the parser are A-OK \ No newline at end of file