commit d03b3eddb5717273a194c40c70d0ce9acb4c0b2d
parent d4e58779143f6488b41437bf3444f4a1c1e455b1
Author: Kyle Milz <kyle@getaddrinfo.net>
Date: Sun, 8 Feb 2015 16:10:21 -0700
price_scraper: don't put dollar sign on bad price
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/price_scraper.pl b/price_scraper.pl
@@ -160,7 +160,7 @@ sub get_valid_price
# sanity check on the numerical value of the price
$price =~ s/,//;
if ($price <= 0 || $price > 10000) {
- print $log "error: $vendor: price \$$price out of range\n";
+ print $log "error: $vendor: price $price out of range\n";
return undef;
}