1
0
mirror of https://github.com/skaringa/water-counter.git synced 2024-11-21 17:04:25 +01:00

Merge branch 'master' of chronos

This commit is contained in:
Martin Kompf 2016-05-06 20:25:55 +02:00
commit 885e39b7fe

View File

@ -31,7 +31,7 @@ if ($size eq 'big') {
die "invalid type\n" unless $type =~ /(count|consum)(day|week|month|year)/; die "invalid type\n" unless $type =~ /(count|consum)(day|week|month|year)/;
$ds=$1; $ds=$1;
$range=$2; $range=$2;
$filename="/tmp/em${type}_${size}.png"; $filename="/tmp/wai${type}_${size}.png";
# create new image if existing file is older than rrd file # create new image if existing file is older than rrd file
my $maxdiff = 10; my $maxdiff = 10;