Show More
@@ -923,7 +923,7 b' class Hub(SessionFactory):' | |||||
923 | content=content, |
|
923 | content=content, | |
924 | ident=reg) |
|
924 | ident=reg) | |
925 |
|
925 | |||
926 |
heart = |
|
926 | heart = cast_bytes(uuid) | |
927 |
|
927 | |||
928 | if content['status'] == 'ok': |
|
928 | if content['status'] == 'ok': | |
929 | if heart in self.heartmonitor.hearts: |
|
929 | if heart in self.heartmonitor.hearts: |
@@ -261,7 +261,7 b' class TaskScheduler(SessionFactory):' | |||||
261 |
|
261 | |||
262 | content = msg['content'] |
|
262 | content = msg['content'] | |
263 | for uuid in content.get('engines', {}).values(): |
|
263 | for uuid in content.get('engines', {}).values(): | |
264 | self._register_engine(asbytes(uuid)) |
|
264 | self._register_engine(cast_bytes(uuid)) | |
265 |
|
265 | |||
266 |
|
266 | |||
267 | @util.log_errors |
|
267 | @util.log_errors |
General Comments 0
You need to be logged in to leave comments.
Login now