mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +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()
|
response = self.dialog.run()
|
||||||
self.dialog.hide()
|
self.dialog.hide()
|
||||||
if response:
|
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
Add a link
Reference in a new issue