mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Don't rediscover if conflict_resolution changed
This commit is contained in:
parent
f7f271afe2
commit
943c970286
1 changed files with 4 additions and 1 deletions
|
|
@ -114,7 +114,10 @@ def get_status_name(pair, collection):
|
|||
|
||||
def _get_collections_cache_key(pair_options, config_a, config_b):
|
||||
m = hashlib.sha256()
|
||||
j = json.dumps([pair_options, config_a, config_b], sort_keys=True)
|
||||
j = json.dumps([
|
||||
pair_options.get('collections', None),
|
||||
config_a, config_b
|
||||
], sort_keys=True)
|
||||
m.update(j.encode('utf-8'))
|
||||
return m.hexdigest()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue