Skip to content

Instantly share code, notes, and snippets.

@ata2001
Created August 16, 2017 18:31
Show Gist options
  • Save ata2001/e49c6f18fbf63ace278f49ed8a54bc25 to your computer and use it in GitHub Desktop.
Save ata2001/e49c6f18fbf63ace278f49ed8a54bc25 to your computer and use it in GitHub Desktop.
bpython iterm2 debug
diff --git a/bpython/curtsiesfrontend/repl.py b/bpython/curtsiesfrontend/repl.py
index a4502fa..94718b4 100644
--- a/bpython/curtsiesfrontend/repl.py
+++ b/bpython/curtsiesfrontend/repl.py
@@ -1160,6 +1160,7 @@ class BaseRepl(BpythonRepl):
"""Send unicode string to Repl stdout"""
if not output:
return
+ logger.info(type(output))
lines = output.split('\n')
if all(not line for line in lines):
# If the string consist only of newline characters,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment