From 9333ea6304607e727dbad5c11d047785155e1001 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 13 Aug 2023 11:58:54 +0200 Subject: tidy script --- bin/events2md.pl | 7 +++++-- 1 file 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; -- cgit v1.2.3