Browse Source

Removed a debug code line

master
Archivist 5 years ago
parent
commit
62324e3838
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      src/sales_backend/http/product.cr

+ 0
- 2
src/sales_backend/http/product.cr View File

@ -45,11 +45,9 @@ get "/products" do |context|
if filename.char_at(0)!='.'
if(skipped<skip)
skipped+=1
STDOUT.puts "Skipped "+filename
else
ret.push Product.from_json File.read Statics.data_path+"products/"+filename
sent+=1;
STDOUT.puts "Sent "+filename
end
end
rescue exception

Loading…
Cancel
Save