Show More
@@ -271,7 +271,7 b' def create_ipython_shortcuts(shell):' | |||
|
271 | 271 | def _apply_autosuggest(event): |
|
272 | 272 | b = event.current_buffer |
|
273 | 273 | suggestion = b.suggestion |
|
274 | if suggestion: | |
|
274 | if suggestion is not None and suggestion.text: | |
|
275 | 275 | b.insert_text(suggestion.text) |
|
276 | 276 | else: |
|
277 | 277 | nc.end_of_line(event) |
General Comments 0
You need to be logged in to leave comments.
Login now