Created
August 16, 2017 18:31
-
-
Save ata2001/e49c6f18fbf63ace278f49ed8a54bc25 to your computer and use it in GitHub Desktop.
bpython iterm2 debug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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