Browse files

Merge pull request #4 from llonchj/master

fix serialization
  • Loading branch information...
2 parents c1390f8 + 4c55508 commit 3b34170d95a14770f64c4f50f1bacba2fb8691d3 @rolando committed Feb 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 scrapy_redis/pipelines.py
View
2 scrapy_redis/pipelines.py
@@ -26,7 +26,7 @@ def process_item(self, item, spider):
def _process_item(self, item, spider):
key = self.item_key(item, spider)
- data = self.encoder.encode(dict(item))
+ data = self.encoder.encode(item)
self.server.rpush(key, data)
return item

0 comments on commit 3b34170

Please sign in to comment.