# HG changeset patch # User Matti Hamalainen # Date 1469535292 -10800 # Node ID d9e799a27ceb91def81d93947bce2c8600671970 # Parent da09a3b1edaa4bda96d17b7a887d6b145080145d Make cfg.dest_id actually work. diff -r da09a3b1edaa -r d9e799a27ceb multimerge.py --- a/multimerge.py Tue Jul 26 15:14:44 2016 +0300 +++ b/multimerge.py Tue Jul 26 15:14:52 2016 +0300 @@ -464,6 +464,8 @@ if not cfg.dest_id and dst_re.match(calendar["summary"]): cfg.mset("dest_id", calendar["id"]) dst_calendar = calendar + elif cfg.dest_id and calendar["id"] == cfg.dest_id: + dst_calendar = calendar # If summary or summaryOverride match the regexp, add calendar mre = src_re.match(calendar["summary"])