lib/import/match_mover.rb in tracksperanto-1.7.0 vs lib/import/match_mover.rb in tracksperanto-1.7.1
- old
+ new
@@ -34,10 +34,10 @@
end
tracks
end
def extract_track(start_line, io)
- tracker_name = start_line.scan(/\"([^\"]+)\"/).to_s
+ tracker_name = start_line.scan(/\"([^\"]+)\"/).flatten[0]
t = Tracksperanto::Tracker.new(:name => tracker_name)
while(line = io.gets) do
return t if line =~ /\}/
t.keyframes.push(extract_key(line.strip)) if line =~ /^(\s+?)(\d)/
end
\ No newline at end of file