diff --git a/src/ankisyncd/sync.py b/src/ankisyncd/sync.py index 66be132..940f158 100644 --- a/src/ankisyncd/sync.py +++ b/src/ankisyncd/sync.py @@ -304,9 +304,7 @@ from notes where %s""" % lim, self.maxUsn) return self.col.conf def mergeConf(self, conf): - newConf = ConfigManager(self.col) - for key, value in conf.items(): - self.col.set_config(key, value) + self.col.backend.set_all_config(json.dumps(conf).encode()) # Wrapper for requests that tracks upload/download progress ##########################################################################