Skip to content

Commit 5b4c2c0

Browse files
committed
GTK save current pastebin url to clipboard
1 parent 33113a3 commit 5b4c2c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ def pastebin(self, s=None):
671671
if s == self.prev_pastebin_content:
672672
self.interact.notify('Duplicate pastebin. Previous URL: ' +
673673
self.prev_pastebin_url)
674-
return
674+
return self.prev_pastebin_url
675675

676676
self.prev_pastebin_content = s
677677

0 commit comments

Comments
 (0)