mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
[GTKUI] Fix AttributeError with clipboard strip
This commit is contained in:
parent
633c56f54e
commit
6ec32a85e4
1 changed files with 2 additions and 1 deletions
|
@ -329,4 +329,5 @@ def listview_replace_treestore(listview):
|
|||
|
||||
def get_clipboard_text():
|
||||
text = clipboard_get(selection=SELECTION_PRIMARY).wait_for_text() or clipboard_get().wait_for_text()
|
||||
return text.strip()
|
||||
if text:
|
||||
return text.strip()
|
||||
|
|
Loading…
Add table
Reference in a new issue