Created
May 14, 2010 06:15
-
-
Save dfdeshom/400869 to your computer and use it in GitHub Desktop.
celery issue 105
This file contains hidden or 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
diff --git a/celery/events.py b/celery/events.py | |
index c15ba4e..ac37c7a 100644 | |
--- a/celery/events.py | |
+++ b/celery/events.py | |
@@ -8,7 +8,7 @@ from celery.messaging import EventPublisher, EventConsumer | |
def create_event(type, fields): | |
std = {"type": type, | |
"timestamp": fields.get("timestamp") or time.time()} | |
- return dict(fields, **std) | |
+ return str(dict(fields, **std)) | |
def Event(type, **fields): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment