khal icon indicating copy to clipboard operation
khal copied to clipboard

delete temporarily created ics files

Open burakcank opened this issue 2 months ago • 0 comments

I noticed khal creates temporary files during the import and doesn't clean them.

os.link (renaming from temp file to destination) raises an exception when there's already an event with the same uid. This pollutes my calendar folder with uid.ics-(some-random-letters) files.

This PR unlinks those files that failed for updating the calendar events.

burakcank avatar Nov 04 '25 23:11 burakcank