diff --git a/workers/black_box_worker.rb b/workers/black_box_worker.rb index 37eccb48..84d2dc43 100644 --- a/workers/black_box_worker.rb +++ b/workers/black_box_worker.rb @@ -5,9 +5,9 @@ class BlackBoxWorker def perform(site_id, path) site = Site[site_id] return true if site.nil? || site.is_banned? || site.is_deleted - BlackBox.tos_violation_check site, path + BlackBox.new(site, path).tos_violation_check! end end -# BlackBox.tos_violation_check self, uploaded \ No newline at end of file +# BlackBox.tos_violation_check self, uploaded