Skip to content

Commit 1446480

Browse files
committed
caption should be a list, not string
1 parent 28b9a55 commit 1446480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pudb/debugger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2633,7 +2633,7 @@ def get_source_filename():
26332633
filename = filename[first_dirname_index + 1:]
26342634
return filename
26352635

2636-
caption = separator.join([info_string, get_source_filename()])
2636+
caption = [(None, separator.join([info_string, get_source_filename()]))]
26372637

26382638
if self.debugger.post_mortem:
26392639
if show_exc_dialog and exc_tuple is not None:

0 commit comments

Comments
 (0)