diff options
author | Jonas Smedegaard <dr@jones.dk> | 2023-08-13 11:58:54 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-08-27 23:39:36 +0200 |
commit | 9072ba9ff5d8346abb5ada833953061aaf6fe913 (patch) | |
tree | b9fe47b0adc3fe55302e2f400e38712063f49904 | |
parent | 4b0646e611b197d353004c37bb11e1e9f250b223 (diff) |
tidy script
-rwxr-xr-x | bin/events2md.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/events2md.pl b/bin/events2md.pl index 32e057d..751306f 100755 --- a/bin/events2md.pl +++ b/bin/events2md.pl @@ -71,8 +71,10 @@ if ( $base_uri->scheme eq 'http' or $base_uri->scheme eq 'https' ) { if ($mach) { $user ||= $mach->login; $pass ||= $mach->password; - $log->infof( 'will use .netrc provided credentials for user %s', - $user ); + $log->infof( + 'will use .netrc provided credentials for user %s', + $user + ); } elsif ( IO::Interactive::Tiny::is_interactive() ) { $log->warn( @@ -180,6 +182,7 @@ sub print_event ? ucfirst("$date_begin kl. $time_begin-$time_end") : undef; my %attachments; + if ( $entry->property('attach') ) { for ( @{ $entry->property('attach') } ) { my $uri; |