Browse Source

Fixed problem #1373 a unicode decode error caused by utf-8 characters in the platform

xray7224 11 years ago
parent
commit
b87038e8a4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/apps/worker.py

+ 1 - 1
celery/apps/worker.py

@@ -203,7 +203,7 @@ class Worker(WorkController):
             version=VERSION_BANNER,
             conninfo=self.app.connection().as_uri(),
             concurrency=concurrency,
-            platform=_platform.platform(),
+            platform=safe_str(_platform.platform()),
             events=events,
             queues=app.amqp.queues.format(indent=0, indent_first=False),
         ).splitlines()