Skip to content

Commit 47d5a49

Browse files
committed
Fix find source with empty input (fixes bpython#443)
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent 9677844 commit 47d5a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ def show_source(self):
13591359
try:
13601360
source = self.get_source_of_current_name()
13611361
except SourceNotFound as e:
1362-
self.status_bar.message(_(e))
1362+
self.status_bar.message(_(str(e)))
13631363
else:
13641364
if self.config.highlight_show_source:
13651365
source = format(PythonLexer().get_tokens(source),

0 commit comments

Comments
 (0)