adding progress indicator

master
Andrew Coleman 2009-03-21 21:55:15 -05:00
parent 017a178cde
commit 951965f502
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ photo_form['photo[album_id]'] = album
# process
files.each_with_index do |fname, idx|
puts "-> #{fname}"
puts "-> (#{idx + 1} / #{files.size}) #{fname}"
# determine picture size
width, height = nil, nil