From 835d3d9905d12c291d4f59ea4e1f5ab5bb7286f3 Mon Sep 17 00:00:00 2001 From: Michael Wiebusch Date: Mon, 5 Aug 2013 14:10:17 +0200 Subject: [PATCH] fix --- tools/testgui.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/testgui.pl b/tools/testgui.pl index ce4f674..569b867 100755 --- a/tools/testgui.pl +++ b/tools/testgui.pl @@ -21,6 +21,8 @@ our $setupDir = '../setup'; our $confDir = '../config'; our $specDir = '../specs'; +my $picPath = "../temp/prevImgs/"; + my $setupFileName = "testsetup.xml"; my $setupFile = $setupDir."/".$setupFileName; @@ -64,7 +66,7 @@ unless($q->param()) { } elsif ($q->param('action') eq "showPlot") { my $sensorId = $q->param('sensorId'); - my $imgSrc = './preview/image_recalibrated_'.$sensorId.'.png'; + my $imgSrc = $picPath.'/image_recalibrated_'.$sensorId.'.png'; if (-e $imgSrc) { print img{src=>$imgSrc."?".rand(),title=>$sensorId}; } else { -- 2.43.0