mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
tiny fix to make it work!
This commit is contained in:
parent
67beec4b80
commit
44792151c9
@ -13,7 +13,7 @@ class CaptureFeed:
|
|||||||
self._producer = kafka.SimpleProducer(kafka.KafkaClient(broker_list))
|
self._producer = kafka.SimpleProducer(kafka.KafkaClient(broker_list))
|
||||||
|
|
||||||
def notify(self, recorded_url, records):
|
def notify(self, recorded_url, records):
|
||||||
if records[0].type not in ('revisit', 'response'):
|
if records[0].type not in (b'revisit', b'response'):
|
||||||
return
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user