Properly extract value.
This commit is contained in:
parent
1f55b78af5
commit
792465c4d7
1 changed files with 2 additions and 1 deletions
|
@ -468,7 +468,8 @@ END_ICAL
|
|||
|
||||
my $uidList = $entry->property('UID');
|
||||
DieLog("This entry has multiple UIDs: @{$uidList}") unless @$uidList == 1;
|
||||
my $uid = $uidList->[0];
|
||||
my $uid = $uidList->[0]->value;
|
||||
|
||||
my $outputFile = File::Spec->catpath("", $icsOutputDir, "${uid}.ics");
|
||||
open(SINGLE_EVENT_ICAL, ">", $outputFile) or
|
||||
DieLog("Unable to overwrite $outputFile: $!", $LOCK_CLEANUP_CODE);
|
||||
|
|
Loading…
Add table
Reference in a new issue