commit 69c7a42aa204ea72917406d29c96b5d4fb2d2e51
parent 664fe1031ac63c50cf1b3edbf8c330d799ea489d
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Thu, 19 Mar 2015 03:19:31 -0600
gen_static: move info message around
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gen_static b/gen_static
@@ -53,7 +53,6 @@ $sql = "select description from products where first_seen > $time";
 my $new_products = $dbh->selectall_arrayref($sql);
 
 my $n = @$new_products;
-print "info: $m manufacturers, $p products ($n new), $v vendors\n" if ($args{v});
 my $vars = {
 	num_vendors => $v,
 	num_manufacturers => $m,
@@ -61,10 +60,10 @@ my $vars = {
 	num_new => $n,
 	new_products => $new_products,
 };
-
 $template->process("index.tt", $vars, "index.html")
 	|| die "template: " . $template->error() . "\n";
 
+print "info: $m manufacturers, $p products ($n new), $v vendors\n" if ($args{v});
 $dbh->disconnect();
 
 # generate a page of links to pages of products