mirror of https://github.com/celery/kombu.git
Merge pull request #349 from sprettur/master
Fix reversed method references in custom seiralizer example
This commit is contained in:
commit
5952dcdedd
|
@ -179,6 +179,6 @@ supported by Kombu.
|
|||
def loads(s):
|
||||
return pickle.load(BytesIO(s))
|
||||
|
||||
register('my_pickle', loads, pickle.dumps,
|
||||
register('my_pickle', pickle.dumps, loads,
|
||||
content_type='application/x-pickle2',
|
||||
content_encoding='binary')
|
||||
|
|
Loading…
Reference in New Issue