about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-06-05 14:14:19 +0530
committerAndinus <andinus@nand.sh>2020-06-05 14:14:19 +0530
commit6b7b4181b2a773012523136733e08d6109ca3dbc (patch)
treefa6a6235aa7febf06e5dcca4c2662367b193c480
parente783d04eb5183d953d4ff16ed9c0b9b511914224 (diff)
downloadara-6b7b4181b2a773012523136733e08d6109ca3dbc.tar.gz
Fix deltarecovered & deltadeaths
They were swapped for some reason.
-rwxr-xr-xara.pl4
1 files 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, [