pricecharts

track prices of consumer electronics
Log | Files | Refs | README

commit fc44e36d86de713b0c61d9b02382aea9f57df6e4
parent 7e9efff1d371fd3d2040eeba2fb9ada977ad1144
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Thu,  2 Apr 2015 22:03:03 -0600

product_scraper: convert type to lower case in info logging

Diffstat:
Mproduct_scraper | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product_scraper b/product_scraper @@ -144,7 +144,7 @@ sub mem_exp_scrape_class my $ok = $new + $old; my $time_str = sprintf("%dh %dm %ds", (gmtime(time - $start))[2, 1, 0]); - print $log sprintf("%-15s %7s %6.1f%% %6i %3i %s\n", $type, + print $log sprintf("%-15s %7s %6.1f%% %6i %3i %s\n", lc($type), "$ok/$total", $ok * 100.0 / $total, $err, $new, $time_str); }