Show More
@@ -383,6 +383,15 b' class TerminalInteractiveShell(InteractiveShell):' | |||||
383 | self.init_banner(banner1, banner2, display_banner) |
|
383 | self.init_banner(banner1, banner2, display_banner) | |
384 |
|
384 | |||
385 | #------------------------------------------------------------------------- |
|
385 | #------------------------------------------------------------------------- | |
|
386 | # Overrides of init stages | |||
|
387 | #------------------------------------------------------------------------- | |||
|
388 | ||||
|
389 | def init_display_formatter(self): | |||
|
390 | super(TerminalInteractiveShell, self).init_display_formatter() | |||
|
391 | # terminal only supports plaintext | |||
|
392 | self.display_formatter.active_types = ['text/plain'] | |||
|
393 | ||||
|
394 | #------------------------------------------------------------------------- | |||
386 | # Things related to the terminal |
|
395 | # Things related to the terminal | |
387 | #------------------------------------------------------------------------- |
|
396 | #------------------------------------------------------------------------- | |
388 |
|
397 |
General Comments 0
You need to be logged in to leave comments.
Login now