lib/prosopite.rb in prosopite-1.1.3 vs lib/prosopite.rb in prosopite-1.1.4
- old
+ new
@@ -64,10 +64,11 @@
def resume
tc[:prosopite_scan] = true
end
def scan?
- tc[:prosopite_scan]
+ !!(tc[:prosopite_scan] && tc[:prosopite_query_counter] &&
+ tc[:prosopite_query_holder] && tc[:prosopite_query_caller])
end
def finish
return unless scan?