Fix one byte conversion error
This commit is contained in:
		| @@ -602,7 +602,7 @@ class SphinxClient: | ||||
|         # filters | ||||
|         req.append(pack('>L', len(self._filters))) | ||||
|         for f in self._filters: | ||||
|             req.append(pack('>L', len(f['attr'])) + f['attr']) | ||||
|             req.append(pack('>L', len(f['attr'])) + f['attr'].encode()) | ||||
|             filtertype = f['type'] | ||||
|             req.append(pack('>L', filtertype)) | ||||
|             if filtertype == SPH_FILTER_VALUES: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user