daemon: The filter query parameter in a sync needs to be a str.

This commit is contained in:
Damir Jelić 2019-05-07 14:52:01 +02:00
parent cf07cfdc16
commit 6988a1de95

View File

@ -518,7 +518,7 @@ class ProxyDaemon:
pass pass
if isinstance(sync_filter, dict): if isinstance(sync_filter, dict):
sync_filter = self.sanitize_filter(sync_filter) sync_filter = json.dumps(self.sanitize_filter(sync_filter))
query["filter"] = sync_filter query["filter"] = sync_filter