Created
February 24, 2014 15:42
-
-
Save 1stvamp/9190723 to your computer and use it in GitHub Desktop.
Simple tool for displaying contents of celery messages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from base64 import b64decode | |
from json import loads | |
from pprint import pprint | |
def parse_celery_msg(msg): | |
pprint(loads(b64decode(msg))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment