From 6b7b4181b2a773012523136733e08d6109ca3dbc Mon Sep 17 00:00:00 2001 From: Andinus Date: Fri, 5 Jun 2020 14:14:19 +0530 Subject: Fix deltarecovered & deltadeaths They were swapped for some reason. --- ara.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ara.pl b/ara.pl index fe0c9a5..c084106 100755 --- a/ara.pl +++ b/ara.pl @@ -99,11 +99,11 @@ foreach my $i (0...37) { $update_info eq "Today"; my $recovered = "$statewise->[$i]{recovered}"; - $recovered .= " (+$statewise->[$i]{deltadeaths})" if + $recovered .= " (+$statewise->[$i]{deltarecovered})" if $update_info eq "Today"; my $deaths = "$statewise->[$i]{deaths}"; - $deaths .= " (+$statewise->[$i]{deltarecovered})" if + $deaths .= " (+$statewise->[$i]{deltadeaths})" if $update_info eq "Today"; push @$rows, [ -- cgit 1.4.1-2-gfad0