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:
parent
4ff218bdbc
commit
ec943b15f2
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user