tiny fix to make it work!

This commit is contained in:
Noah Levitt 2015-09-04 21:00:48 +00:00
parent 67beec4b80
commit 44792151c9

View File

@ -13,7 +13,7 @@ class CaptureFeed:
self._producer = kafka.SimpleProducer(kafka.KafkaClient(broker_list))
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
try: