(self)
| 166 | ) |
| 167 | |
| 168 | def emit_banner(self): |
| 169 | # Dump configuration to screen so we have some basic information |
| 170 | # for when users sends bug reports. |
| 171 | use_image = term.supports_images() |
| 172 | if use_image: |
| 173 | print(term.imgcat(static.logo())) |
| 174 | print(safe_str(''.join([ |
| 175 | str(self.colored.cyan( |
| 176 | ' \n', self.startup_info(artlines=not use_image))), |
| 177 | str(self.colored.reset(self.extra_info() or '')), |
| 178 | ])), file=sys.__stdout__, flush=True) |
| 179 | |
| 180 | def on_consumer_ready(self, consumer): |
| 181 | signals.worker_ready.send(sender=consumer) |
no test coverage detected