1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 08:04:49 +01:00

redisindexer: allow custom 'writer_cls' to be passed via params

This commit is contained in:
Ilya Kreymer 2017-06-08 18:26:37 -04:00
parent 4ff218bdbc
commit ec943b15f2

View File

@ -50,7 +50,8 @@ class WritableRedisIndexer(RedisIndexSource):
cdxout = BytesIO()
write_cdx_index(cdxout, stream, filename,
cdxj=True, append_post=True)
cdxj=True, append_post=True,
writer_cls=params.get('writer_cls'))
z_key = res_template(self.redis_key_template, params)