Browse files

Enable the default serializer

  • Loading branch information...
1 parent f9e67a3 commit c8697f405a45cf6a09df7f03cc7da16916a046a9 @mher committed Dec 28, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 tcelery/producer.py
View
2 tcelery/producer.py
@@ -52,6 +52,8 @@ def publish(self, body, routing_key=None, delivery_mode=None,
self.serializer = self.app.backend.serializer
+ serialization.registry.enable(serializer)
+
(self.content_type,
self.content_encoding,
self.encoder) = serialization.registry._encoders[self.serializer]

0 comments on commit c8697f4

Please sign in to comment.