mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
add checking for url in web seed plugin
This commit is contained in:
parent
8238605aa4
commit
14a57c6d00
1 changed files with 3 additions and 1 deletions
|
@ -65,4 +65,6 @@ class webseedMenu:
|
|||
response = self.dialog.run()
|
||||
self.dialog.hide()
|
||||
if response:
|
||||
self.core.add_url_seed(self.unique_ID, self.glade.get_widget("txt_url").get_text())
|
||||
text = self.glade.get_widget("txt_url").get_text().strip()
|
||||
if common.is_url(text):
|
||||
self.core.add_url_seed(self.unique_ID, text)
|
||||
|
|
Loading…
Add table
Reference in a new issue