aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plot-log-plotly.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/plot-log-plotly.pl b/plot-log-plotly.pl
index 27992af..10f32d5 100644
--- a/plot-log-plotly.pl
+++ b/plot-log-plotly.pl
@@ -8,7 +8,7 @@ use Chart::Plotly;
use Chart::Plotly::Plot;
use Chart::Plotly::Trace::Scatter;
-my @rows = path($ARGV[0])->lines_utf8({chomp=>1});
+my @rows = map { path($_)->lines_utf8({chomp=>1}) } @ARGV;
my @column_names = qw(humidity temperature battery);
my %data_for_src;