Revert "Increase readability for image file names in amdenergy."

This reverts commit ea8937a00d.
This commit is contained in:
Andreas Bachlechner 2022-02-07 17:16:55 +01:00
parent ea8937a00d
commit ea2c3c9dfa
1 changed files with 2 additions and 2 deletions

View File

@ -520,11 +520,11 @@ sub amdenergy_cgi {
my $plots_per_list_item = 1;
foreach my $k (sort keys %{$amdenergy->{list}}) {
for($n = 0; $n < $plots_per_list_item; $n++) {
$str = $u . $package . $k . "_" . $n . "." . $tf->{when} . ".$imgfmt_lc";
$str = $u . $package . $k . $n . "." . $tf->{when} . ".$imgfmt_lc";
push(@IMG, $str);
unlink("$IMG_DIR" . $str);
if(lc($config->{enable_zoom}) eq "y") {
$str = $u . $package . $k . "_" . $n . "z." . $tf->{when} . ".$imgfmt_lc";
$str = $u . $package . $k . $n . "z." . $tf->{when} . ".$imgfmt_lc";
push(@IMGz, $str);
unlink("$IMG_DIR" . $str);
}