]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
fix
authorMichael Wiebusch <stratomaster@gmx.net>
Mon, 5 Aug 2013 12:10:17 +0000 (14:10 +0200)
committerMichael Wiebusch <stratomaster@gmx.net>
Mon, 5 Aug 2013 12:10:17 +0000 (14:10 +0200)
tools/testgui.pl

index ce4f6748d678f755b7533b84c3ddbe625ccc266f..569b86734661046e27900be3fbed654b9c9495e3 100755 (executable)
@@ -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 {