summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/ui/knotty.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index c3019822c4..f3900bdd05 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -207,8 +207,10 @@ class TerminalFilter(object):
207 self.interactive = False 207 self.interactive = False
208 bb.note("Unable to use interactive mode for this terminal, using fallback") 208 bb.note("Unable to use interactive mode for this terminal, using fallback")
209 return 209 return
210 console.addFilter(InteractConsoleLogFilter(self, format)) 210 if console:
211 errconsole.addFilter(InteractConsoleLogFilter(self, format)) 211 console.addFilter(InteractConsoleLogFilter(self, format))
212 if errconsole:
213 errconsole.addFilter(InteractConsoleLogFilter(self, format))
212 214
213 self.main_progress = None 215 self.main_progress = None
214 216