summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-02-21 22:01:31 -0700
committermo khan <mo@mokhan.ca>2015-02-21 22:01:31 -0700
commit10d3fd510f9a546ebbbbb0e4166f7c639af1f05e (patch)
tree1f0feab10a582ebe2f30f70ab399ea06b9ae00f2
parent7fbaa421cd3099af70e095989573d6e6f0d41f75 (diff)
remove comment to remove the image from the images collection.
-rw-r--r--week-7/final7/solve.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/week-7/final7/solve.rb b/week-7/final7/solve.rb
index cdc685c..04684a8 100644
--- a/week-7/final7/solve.rb
+++ b/week-7/final7/solve.rb
@@ -23,7 +23,7 @@ def main
image_id = image['_id']
if used_images.key?(image_id) == false
puts "Deleting: #{image_id}"
- #images_collection.remove("_id": image_id)
+ images_collection.remove("_id": image_id)
deleted += 1
end
end