#914436 khal won't look at event files that don't have an "extension" of ".ics"

Package:
khal
Source:
khal
Submitter:
Thadeu Lima de Souza Cascardo
Date:
2018-11-23 12:45:10 UTC
Severity:
important
#914436#5
Date:
2018-11-23 12:36:43 UTC
From:
To:
I am synchronizing my calendar by using vdirsyncer. The server is
cyrus-caldav. Amongst other clients I use is Davdroid. Davdroid will
create events that when synchronized will not have a filename that ends
with ".ics". And khal won't find those.

The revelant pieces of code are at:
/usr/lib/python3/dist-packages/khal/khalendar/khalendar.py
/usr/lib/python3/dist-packages/khal/khalendar/vdir.py

One small snippet from khalendar.py is the one below:

            if ctype == 'calendar':
                file_ext = '.ics'

Thanks.
Cascardo.