Moved to new syntax.
This commit is contained in:
parent
3317d72bc9
commit
e074556d06
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ returns
|
|||
cal_file = File.open(location)
|
||||
end
|
||||
|
||||
cals = Icalendar.parse(cal_file)
|
||||
cals = Icalendar::Calendar.parse(cal_file)
|
||||
cal = cals.first
|
||||
events = {}
|
||||
cal.events.each { |event|
|
||||
|
|
Loading…
Reference in a new issue