summaryrefslogtreecommitdiff
path: root/calendar_cli/cal.py
diff options
context:
space:
mode:
Diffstat (limited to 'calendar_cli/cal.py')
-rwxr-xr-xcalendar_cli/cal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar_cli/cal.py b/calendar_cli/cal.py
index 137d9f3..0b7ca4e 100755
--- a/calendar_cli/cal.py
+++ b/calendar_cli/cal.py
@@ -736,7 +736,7 @@ def ical(ctx, ical_data, ical_file):
ical = ical.replace('\nEND:', f"{ctx.obj['ical_fragment']}\nEND:")
for c in ctx.obj['calendars']:
## TODO: this may not be an event - should make a Calendar.save_object method
- c.save_event(ical)
+ c.save_event(ical_data)
def _process_set_args(ctx, kwargs):
ctx.obj['set_args'] = {}