right_data 0.7.9 → 0.7.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/main.rb +1 -1
- metadata +2 -2
data/lib/main.rb
CHANGED
@@ -231,7 +231,7 @@ module RightData
|
|
231
231
|
# dups = check_file_in_index(master_index, "/Users/jonathan/Dropbox/2261093437_fac9fa9008_b.jpg")
|
232
232
|
|
233
233
|
# Get prune count for progress updates:
|
234
|
-
prune_count = `
|
234
|
+
prune_count = `find "#{prune}" | wc -l`.chomp.to_i
|
235
235
|
prune_updates = (0..25).inject({}) { |a,i| a[(i * (prune_count / 25)).to_i]=true;a }
|
236
236
|
|
237
237
|
count = 0
|