lib/softcover/uploader.rb in softcover-0.9.10 vs lib/softcover/uploader.rb in softcover-0.9.11
- old
+ new
@@ -39,9 +39,10 @@
y = as_size(size)
x = y if x > y
begin
bar.send(:title=, "#{path} (#{x} / #{y})")
bar.progress += ul_now - last_chunk
+ bar.refresh
rescue
nil
end
last_chunk = ul_now
true
\ No newline at end of file