Skip to content

Commit 9201270

Browse files
authored
Tweaking output
For turns with no messages, adding the filename to the output.
1 parent 986d3e6 commit 9201270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/download.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
my ($outBytes) = &decryptMessages(@fileBytes); # get the message data
244244
my @outBytes = @{ $outBytes };
245245
open (MESSAGEFILE, ">>$messageFile"); # write out the messages to a file
246-
unless (scalar (@outBytes)) { print MESSAGEFILE "No message(s) found.\n"; }
246+
unless (scalar (@outBytes)) { print MESSAGEFILE $filename . ',' . "No message(s) found.\n"; }
247247
else {
248248
foreach my $message (@outBytes) {
249249
print MESSAGEFILE $filename . ','; # include the file name

0 commit comments

Comments
 (0)