From 7126c8e9b526cf9c83e19f76c432357ed6c7a5bc Mon Sep 17 00:00:00 2001 From: Max Kaminskiy Date: Mon, 5 Aug 2019 20:21:53 -0700 Subject: [PATCH] Fixed typo. From utf=8 to utf-8. (#15684) --- content/en/examples/application/job/redis/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/examples/application/job/redis/worker.py b/content/en/examples/application/job/redis/worker.py index 49e5dae798..b8abbee917 100644 --- a/content/en/examples/application/job/redis/worker.py +++ b/content/en/examples/application/job/redis/worker.py @@ -14,7 +14,7 @@ print("Initial queue state: empty=" + str(q.empty())) while not q.empty(): item = q.lease(lease_secs=10, block=True, timeout=2) if item is not None: - itemstr = item.decode("utf=8") + itemstr = item.decode("utf-8") print("Working on " + itemstr) time.sleep(10) # Put your actual work here instead of sleep. q.complete(item)