diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2016-12-08 21:42:01 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2016-12-08 21:43:35 +0100 |
commit | 338e556f8d8e1a29e3df04cfad93e291b3b61ab0 (patch) | |
tree | a6a771fec314d42af7be4f93f7fdf0cb4e1235af | |
parent | e70b41bda98a3acca2fa5e6f922efccdb1d6a866 (diff) | |
download | calcurse-338e556f8d8e1a29e3df04cfad93e291b3b61ab0.zip |
calcurse-caldav: Fix appointment imports
When importing an appointment from the server, make sure we store a hash
of the item in the sync DB, and not the serialized item itself.
Reported-by: Guillaume Laurès <guillaume@lauresfamily.fr>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
-rwxr-xr-x | contrib/caldav/calcurse-caldav.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/caldav/calcurse-caldav.py b/contrib/caldav/calcurse-caldav.py index 35bc8cb..13e4388 100755 --- a/contrib/caldav/calcurse-caldav.py +++ b/contrib/caldav/calcurse-caldav.py @@ -46,6 +46,7 @@ def calcurse_wipe(): def calcurse_import(icaldata): p = subprocess.Popen([calcurse, '-i', '-', '--dump-imported', '-q', + '--format-apt=%(hash)\\n', '--format-recur-apt=%(hash)\\n', '--format-event=%(hash)\\n', '--format-recur-event=%(hash)\\n', |