From 9370d814441934cffb68bc5d605e21c4885b2b85 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Tue, 18 Sep 2007 03:18:43 +0000 Subject: [PATCH] Add extra output in add_torrent_url() and update TODO list. --- TODO | 2 -- deluge/ui/functions.py | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index e93528a79..da5a7caf2 100644 --- a/TODO +++ b/TODO @@ -16,8 +16,6 @@ * Figure out easy way for user-made plugins to add i18n support. * Change the menubar.py gtkui component to menus.py and add support for plugins to add menuitems to the torrentmenu in an easy way. -* Create a new status icon.. a red alert icon to show there is an error with - the torrent.. ie, disk full alert and stuff like that.. * Add the tracker responses to the torrent details * Fast resume saving * Restart daemon function diff --git a/deluge/ui/functions.py b/deluge/ui/functions.py index c1cbbcd4a..304f729d0 100644 --- a/deluge/ui/functions.py +++ b/deluge/ui/functions.py @@ -99,7 +99,9 @@ def add_torrent_url(torrent_url): result = core.add_torrent_url(torrent_url) if result is False: # The torrent url was not added successfully. - log.warning("Torrent %s url was not added successfully.", torrent_url) + log.warning("Torrent %s was not added successfully.", torrent_url) + else: + log.warning("Invalid URL %s", torrent_url) def remove_torrent(torrent_ids): """Removes torrent_ids from the core.. Expects a list of torrent_ids"""