Skip to content

Commit

Permalink
Tweaking output
Browse files Browse the repository at this point in the history
For turns with no messages, adding the filename to the output.
  • Loading branch information
ricks03 authored Sep 2, 2022
1 parent c21021e commit 337aee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/download.pl
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
my ($outBytes) = &decryptMessages(@fileBytes); # get the message data
my @outBytes = @{ $outBytes };
open (MESSAGEFILE, ">>$messageFile"); # write out the messages to a file
unless (scalar (@outBytes)) { print MESSAGEFILE "No message(s) found.\n"; }
unless (scalar (@outBytes)) { print MESSAGEFILE $filename . ',' . "No message(s) found.\n"; }
else {
foreach my $message (@outBytes) {
print MESSAGEFILE $filename . ','; # include the file name
Expand Down

0 comments on commit 337aee7

Please sign in to comment.