Commit 52b99e4e authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[worker] Use old formating notation to build bytes variable for compatibility

parent 6b930ac9
......@@ -108,7 +108,7 @@ class WorkerController(object):
self.socket.send_multipart([
worker,
WorkerController.EXECUTE,
b'{}'.format(job_id),
b'%d' % job_id,
simplejson.dumps(configuration).encode('utf-8')
])
......@@ -117,7 +117,7 @@ class WorkerController(object):
self.socket.send_multipart([
worker,
WorkerController.CANCEL,
b'{}'.format(job_id),
b'%d' % job_id,
])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment